Changeset 770 in svn for trunk/xcache.h


Ignore:
Timestamp:
2011-04-18T10:11:59+02:00 (4 years ago)
Author:
Xuefer
Message:

fixed #236: kill gcc false warning

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/xcache.h

    r769 r770  
    138138#ifndef IS_UNICODE
    139139typedef char *zstr;
     140typedef const char *const_zstr;
    140141#   define ZSTR_S(s)     (s)
    141142#   define ZSTR_U(s)     (s)
     
    145146#   define ZSTR_PV(s)    (s)
    146147#else
     148typedef const zstr const_zstr;
    147149#   define ZSTR_S(zs)    ((zs).s)
    148150#   define ZSTR_U(zs)    ((zs).u)
Note: See TracChangeset for help on using the changeset viewer.