Hauke Hachmann wrote:
> kmsg.c: In function ‘k_send_find_value_response’:
> kmsg.c:626: warning: format ‘%d’ expects type ‘int’, but argument 4 has 
> type ‘size_t’
> kmsg.c:626: warning: format ‘%d’ expects type ‘int’, but argument 5 has 
> type ‘size_t’

Too bad this is just a warning and doesn't cause a compile error. Maybe
in 1000 years 64-bit platforms can be used safely.
 
> I know that this has nothing to do with the error mentioned above, I 
> just happened to see it when my screen stopped scrolling by. I thought 
> this should perhaps be (int)'ed away...

Certainly not. A cast to "int" is almost always a bug. The 100 and some
occurences in gtk-gnutella's code are no exception.

-- 
Christian

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
gtk-gnutella-devel mailing list
gtk-gnutella-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gtk-gnutella-devel

Reply via email to