diff options
author | Keith Kanios <spook@dynatos.net> | 2007-04-13 22:00:42 +0000 |
---|---|---|
committer | Keith Kanios <spook@dynatos.net> | 2007-04-13 22:00:42 +0000 |
commit | 2a3311b54683d68a8c78a82d75c9acf333ee4e10 (patch) | |
tree | 03557325d58f7bd649fd2e0eac10a2669d74430e /output | |
parent | c40f89e1c2c8a6ba4b7b86148aacbc0a32bf5b57 (diff) | |
download | nasm-2a3311b54683d68a8c78a82d75c9acf333ee4e10.tar.gz nasm-2a3311b54683d68a8c78a82d75c9acf333ee4e10.tar.bz2 nasm-2a3311b54683d68a8c78a82d75c9acf333ee4e10.zip |
Replaced str(n)casecmp with more standard str(n)icmp.
Diffstat (limited to 'output')
-rw-r--r-- | output/outmacho.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/output/outmacho.c b/output/outmacho.c index 8c3ff79..933d42e 100644 --- a/output/outmacho.c +++ b/output/outmacho.c @@ -568,7 +568,7 @@ static int32_t macho_section(char *name, int pass, int *bits) while ((NULL != sectionAttributes) && (currentAttribute = strtok((char*)§ionAttributes, " \t"))) { if (0 != *currentAttribute) { - if (0 == strncasecmp("align=", currentAttribute, 6)) { + if (!(nasm_strnicmp("align=", currentAttribute, 6))) { char *end; int newAlignment, value; @@ -604,7 +604,7 @@ static int32_t macho_section(char *name, int pass, int *bits) } s->align = newAlignment; - } else if (0 == strcasecmp("data", currentAttribute)) { + } else if (!(nasm_stricmp("data", currentAttribute))) { /* Do nothing; 'data' is implicit */ } else { error(ERR_PANIC, |