Bugzilla – Bug 6750
Format warnings in rls client
Last modified: 2010-01-27 10:42:19
You need to log in before you can comment on or make changes to this bug.
rpc.c:395: warning: format '%d' expects type 'int', but argument 3 has type 'globus_size_t' rpc.c:395: warning: format '%d' expects type 'int', but argument 4 has type 'globus_size_t' The linked patch fixes those issues.
Committed to trunk for gt5 release.
Sorry, but with the fix you have committed you have simply moved the problem from the 64 bit compilation to 32 bit compilation. Now the 64 bit compilation works without problem, but on a 32 bit compilation you get: rpc.c:395: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument\ 3 has type ‘globus_size_t’ rpc.c:395: warning: format ‘%lu’ expects type ‘long unsigned int’, but argument\ 4 has type ‘globus_size_t’ You really need to do the cast here. The linked patch have been updated.