Ticket #96 (closed defect: fixed)
Wrong format strings
| Reported by: | nijel | Owned by: | moo |
|---|---|---|---|
| Priority: | major | Milestone: | 1.2.1 |
| Component: | cacher | Version: | 1.2-dev |
| Keywords: | Cc: | ||
| Blocked By: | PHP Version: | ||
| Application: | Need User Feedback: | ||
| Other Exts: | SAPI: | FastCGI | |
| Probability: | Blocking: |
Description
When I compile xcache on amd64, compiler issues following warnings about format strings:
/tmp/buildd/xcache-1.2.0/build-php5/xcache.c: In function 'xcache_admin_auth_check': /tmp/buildd/xcache-1.2.0/build-php5/xcache.c:1521: warning: format '%d' expects type 'int', but argument 4 has type 'size_t' /tmp/buildd/xcache-1.2.0/build-php5/mem.c: In function 'xc_mem_init': /tmp/buildd/xcache-1.2.0/build-php5/mem.c:317: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int' /tmp/buildd/xcache-1.2.0/build-php5/xc_malloc.c: In function 'xc_mem_malloc_init': /tmp/buildd/xcache-1.2.0/build-php5/xc_malloc.c:92: warning: format '%d' expects type 'int', but argument 3 has type 'long unsigned int'
Change History
Note: See
TracTickets for help on using
tickets.

