Changeset 1201 in svn for trunk/xcache.c


Ignore:
Timestamp:
2012-12-17T13:22:49Z (3 years ago)
Author:
Xuefer
Message:

fix some 64bit warnings

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.c

    r1182 r1201  
    248248        if (name) {
    249249            /* RETURN_STRING */
    250             int len = strlen(name);
     250            int len = (int) strlen(name);
    251251            return_value->value.str.len = len;
    252252            return_value->value.str.val = estrndup(name, len);
     
    754754        char *env;
    755755        if ((env = getenv("XCACHE_TEST")) != NULL) {
    756             xc_test = atoi(env);
     756            xc_test = (zend_bool) atoi(env);
    757757        }
    758758    }
Note: See TracChangeset for help on using the changeset viewer.