public
/
ack.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f8cbe04
)
Use %zu to print size_t count
author
George Koehler
<kernigh@gmail.com>
Fri, 22 Mar 2019 18:09:50 +0000
(14:09 -0400)
committer
George Koehler
<kernigh@gmail.com>
Fri, 22 Mar 2019 18:09:50 +0000
(14:09 -0400)
This silences a compiler warning.
util/cmisc/objectify.c
patch
|
blob
|
history
diff --git
a/util/cmisc/objectify.c
b/util/cmisc/objectify.c
index
0909561
..
b8683f1
100644
(file)
--- a/
util/cmisc/objectify.c
+++ b/
util/cmisc/objectify.c
@@
-26,7
+26,7
@@
int main(int argc, const char* argv[])
count++;
}
printf("\n};\n");
- printf("const size_t %s_len = %
d
;\n", argv[1], count);
+ printf("const size_t %s_len = %
zu
;\n", argv[1], count);
return 0;
}