summaryrefslogtreecommitdiff
path: root/output/outobj.c
diff options
context:
space:
mode:
Diffstat (limited to 'output/outobj.c')
-rw-r--r--output/outobj.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/output/outobj.c b/output/outobj.c
index 74f43ced..4c605916 100644
--- a/output/outobj.c
+++ b/output/outobj.c
@@ -41,7 +41,6 @@
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-#include <ctype.h>
#include <inttypes.h>
#include <limits.h>
@@ -428,7 +427,7 @@ static ObjRecord *obj_name(ObjRecord * orp, const char *name)
orp->used += len + 1;
if (obj_uppercase)
while (--len >= 0) {
- *ptr++ = toupper(*name);
+ *ptr++ = nasm_toupper(*name);
name++;
} else
memcpy(ptr, name, len);