summaryrefslogtreecommitdiffstats
path: root/utils
diff options
context:
space:
mode:
authorPeng Wu <alexepico@gmail.com>2012-10-22 12:16:37 +0800
committerPeng Wu <alexepico@gmail.com>2012-10-22 12:17:09 +0800
commitbf3f5d029bb0432fbae882b8d0465d7a9b01f896 (patch)
tree798cdc5bc340476592af9fb71ba8737d4539a3a1 /utils
parent15a7ffc524b2220c1d1b1ae06db153207abe7bdf (diff)
downloadlibpinyin-bf3f5d029bb0432fbae882b8d0465d7a9b01f896.tar.gz
libpinyin-bf3f5d029bb0432fbae882b8d0465d7a9b01f896.tar.xz
libpinyin-bf3f5d029bb0432fbae882b8d0465d7a9b01f896.zip
fixes utils helper
Diffstat (limited to 'utils')
-rw-r--r--utils/utils_helper.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/utils/utils_helper.h b/utils/utils_helper.h
index 6a90cce..3eb6778 100644
--- a/utils/utils_helper.h
+++ b/utils/utils_helper.h
@@ -58,13 +58,13 @@
if (2 != g_strv_length(strs)) \
assert(false); \
\
- phrase_token_t token = atoi(strs[0]); \
+ phrase_token_t _token = atoi(strs[0]); \
const char * phrase = strs[1]; \
- if (null_token != token) \
+ if (null_token != _token) \
assert(taglib_validate_token_with_string \
- (phrase_index, token, phrase)); \
+ (phrase_index, _token, phrase)); \
\
- var = token; \
+ var = _token; \
\
g_strfreev(strs); \
} while(false);