Minor warning fixes.

This commit is contained in:
Patrick Pelissier committed 2017-03-30 21:29:30 +02:00
1 parent ebf24d41cf
commit e6b1f7d7b5
1 file changed
+2 -2
+2 -2
View File
@@ -27,7 +27,7 @@ ARRAY_DEF(my, dict_my_t, MY_DICT_OPLIST)
/* Define the oplist associated to this array of dictionary of variant */
#define MY_ARRAY_OPLIST ARRAY_OPLIST(my, MY_DICT_OPLIST)
int main()
int main(void)
{
M_LET(z, INTEGER_OPLIST) /* Define & init & clear an instance of a variant of integer */
M_LET(dict, MY_DICT_OPLIST) /* Define & init & clear an instance of a dictionary of variant */
@@ -47,7 +47,7 @@ int main()
for M_EACH(p, *item, MY_DICT_OPLIST) {
// Dictionary iterator are pair (key,value)
if (integer_n_p((*p)->value)) {
printf ("It is a long long, value = %Ld\n",
printf ("It is a long long, value = %lld\n",
*integer_get_n((*p)->value));
}
if (integer_z_p((*p)->value)) {