Fix format of _size
This commit is contained in:
1 parent
ba72e4ebbf
commit
d19ec5bf49
1 file changed
+1
-1
+1
-1
@@ -38,7 +38,7 @@ int main(void)
|
|||||||
list_string_get_str (tmpstr, grow, false);
|
list_string_get_str (tmpstr, grow, false);
|
||||||
|
|
||||||
// print out
|
// print out
|
||||||
printf("Number of elements = %lu\n", (unsigned long) list_string_size(grow));
|
printf("Number of elements = %zu\n", list_string_size(grow));
|
||||||
printf("Final string = %s\n", string_get_cstr(tmpstr));
|
printf("Final string = %s\n", string_get_cstr(tmpstr));
|
||||||
|
|
||||||
// Let's iterate over each element of the list
|
// Let's iterate over each element of the list
|
||||||
|
|||||||
Reference in new issue
Block a user