fixes utils helper
authorPeng Wu <alexepico@gmail.com>
Mon, 22 Oct 2012 04:16:37 +0000 (12:16 +0800)
committerPeng Wu <alexepico@gmail.com>
Mon, 22 Oct 2012 04:17:09 +0000 (12:17 +0800)
utils/utils_helper.h

index 6a90cce..3eb6778 100644 (file)
         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);