Changeset 844 in svn for trunk/processor/head.m4


Ignore:
Timestamp:
2012-03-25T07:18:30Z (3 years ago)
Author:
Xuefer
Message:

kill some warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/processor/head.m4

    r843 r844  
    111111{
    112112    void **p = (void **) mem;
    113     void **end = (char *) mem + n;
     113    void **end = (void **) ((char *) mem + n);
    114114    while (p < end - sizeof(content)) {
    115115        *p = content;
     
    148148#endif
    149149/* {{{ xc_zstrlen_char */
    150 static inline int xc_zstrlen_char(zstr s)
     150static inline int xc_zstrlen_char(const_zstr s)
    151151{
    152152    return strlen(ZSTR_S(s));
     
    161161/* }}} */
    162162/* {{{ xc_zstrlen */
    163 static inline int xc_zstrlen(int type, zstr s)
     163static inline int xc_zstrlen(int type, const_zstr s)
    164164{
    165165    return type == IS_UNICODE ? xc_zstrlen_uchar(s) : xc_zstrlen_char(s);
Note: See TracChangeset for help on using the changeset viewer.