Browse code

Fix buildbot

Shawn Webb authored on 2014/06/26 04:27:04
Showing 1 changed files
... ...
@@ -162,7 +162,7 @@ int is_object_reference(char *begin, char **endchar, uint32_t *id)
162 162
     if (p1 == end)
163 163
         return 0;
164 164
 
165
-    if (!isnumber(p1[0]))
165
+    if (!isdigit(p1[0]))
166 166
         return 0;
167 167
 
168 168
     /* Ensure strtoul() isn't going to go past our buffer */
... ...
@@ -187,7 +187,7 @@ int is_object_reference(char *begin, char **endchar, uint32_t *id)
187 187
     if (p1 == end)
188 188
         return 0;
189 189
 
190
-    if (!isnumber(p1[0]))
190
+    if (!isdigit(p1[0]))
191 191
         return 0;
192 192
 
193 193
     /* Ensure strtoul() is going to go past our buffer */