summaryrefslogtreecommitdiffstats
path: root/apps/plugins/lua/strtoul.c
diff options
context:
space:
mode:
Diffstat (limited to 'apps/plugins/lua/strtoul.c')
-rw-r--r--apps/plugins/lua/strtoul.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/plugins/lua/strtoul.c b/apps/plugins/lua/strtoul.c
index 74d9b4bb09..834721f05b 100644
--- a/apps/plugins/lua/strtoul.c
+++ b/apps/plugins/lua/strtoul.c
@@ -7,7 +7,7 @@ unsigned long int strtoul(const char *ptr, char **endptr, int base)
const char* orig;
const char* nptr=ptr;
- while(isspace(*nptr)) ++nptr;
+ while(__unlikely(isspace(*nptr))) ++nptr;
if (*nptr == '-') { neg=1; nptr++; }
else if (*nptr == '+') ++nptr;