Changeset 6337cb5
- Timestamp:
- Oct 20, 2009, 1:28:57 AM (15 years ago)
- Branches:
- master, release-1.10, release-1.5, release-1.6, release-1.7, release-1.8, release-1.9
- Children:
- 99525be
- Parents:
- 68f358c
- git-author:
- Anders Kaseorg <andersk@mit.edu> (10/19/09 23:27:28)
- git-committer:
- Anders Kaseorg <andersk@mit.edu> (10/20/09 01:28:57)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
owl.h
r4f2166b r6337cb5 193 193 194 194 #ifdef HAVE_LIBZEPHYR 195 /* libzephyr doesn't use const, so we appease the type system with this cast. */ 195 /* libzephyr doesn't use const, so we appease the type system with this kludge. 196 * This just casts const char * to char * in a way that doesn't yield a warning 197 * from gcc -Wcast-qual. */ 196 198 static inline char *zstr(const char *str) 197 199 { 198 return (char *)str; 200 union { char *rw; const char *ro; } u; 201 u.ro = str; 202 return u.rw; 199 203 } 200 204 #endif
Note: See TracChangeset
for help on using the changeset viewer.