Changeset 36ef103 in git for xcache.c


Ignore:
Timestamp:
2012-12-17T13:22:49Z (7 years ago)
Author:
Xuefer <xuefer@…>
Branches:
3.0, 3.1, 3.2, master, trunk
Children:
35a0b57
Parents:
b60f751
Message:

fix some 64bit warnings

git-svn-id: svn://svn.lighttpd.net/xcache/trunk@1201 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

File:
1 edited

Legend:

Unmodified
Added
Removed
  • xcache.c

    rad6cbbe r36ef103  
    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.