X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3ee5e2ac47abb878c628539714f57dbb4898032b..db82f9e75280108116a8e70d2e7a163080020d29:/README.coding diff --git a/README.coding b/README.coding index a2ea54f742..e48b67f5df 100644 --- a/README.coding +++ b/README.coding @@ -89,7 +89,8 @@ MALLOC: SIZE_T (FIXME: obsolete?) If possible, avoid size_t and use unsigned long instead. If not, #include in all files manipulating size_t - do cast it to unsigned long before printing (and use %lu) + do cast it to unsigned long before printing (and use %lu), + or use %zu. PRINTF pointer difference (FIXME: advertise %td instead?) printf ("diff = %ld\n", (long) (pointer2 - pointer1));