X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/7d9a2608433e246294b7c4b339371fd4d3530ba6..fde9407d1baff5065d23b005144b324a1407edbf:/README.coding?ds=sidebyside 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));