From 2a3311b54683d68a8c78a82d75c9acf333ee4e10 Mon Sep 17 00:00:00 2001 From: Keith Kanios Date: Fri, 13 Apr 2007 22:00:42 +0000 Subject: Replaced str(n)casecmp with more standard str(n)icmp. --- output/outmacho.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'output') 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, -- cgit v1.2.3