Changeset 297


Ignore:
Timestamp:
2006-12-03T03:58:06+01:00 (8 years ago)
Author:
moo
Message:

kill warnings for debug

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r296 r297  
    244244{ 
    245245#ifdef DEBUG 
    246     fprintf(stderr, "hold %s\n", ZSTR_S(xce->name)); 
     246    fprintf(stderr, "hold %s\n", xce->name.str.val); 
    247247#endif 
    248248    xce->refcount ++; 
     
    291291{ 
    292292#ifdef DEBUG 
    293     fprintf(stderr, "ttl %d, %d %d\n", XG(request_time), entry->atime, xc_php_ttl); 
     293    fprintf(stderr, "ttl %lu, %lu %lu\n", (zend_ulong) XG(request_time), (zend_ulong) entry->atime, xc_php_ttl); 
    294294#endif 
    295295    if (XG(request_time) > entry->atime + xc_php_ttl) { 
     
    310310{ 
    311311#ifdef DEBUG 
    312     fprintf(stderr, "interval %d, %d %d\n", XG(request_time), cache->last_gc_expires, gc_interval); 
     312    fprintf(stderr, "interval %lu, %lu %lu\n", (zend_ulong) XG(request_time), (zend_ulong) cache->last_gc_expires, gc_interval); 
    313313#endif 
    314314    if (XG(request_time) - cache->last_gc_expires >= gc_interval) { 
     
    632632                    xce = (xc_entry_t*) xc_stack_pop(s); 
    633633#ifdef DEBUG 
    634                     fprintf(stderr, "unhold %s\n", ZSTR_S(xce->name)); 
     634                    fprintf(stderr, "unhold %s\n", xce->name.str.val); 
    635635#endif 
    636636                    xce->refcount --; 
Note: See TracChangeset for help on using the changeset viewer.