summaryrefslogtreecommitdiffstats
path: root/ecc
diff options
context:
space:
mode:
Diffstat (limited to 'ecc')
-rw-r--r--ecc/Rules.mk4
-rw-r--r--ecc/src/main.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/ecc/Rules.mk b/ecc/Rules.mk
index c815cf1..ed3c46d 100644
--- a/ecc/Rules.mk
+++ b/ecc/Rules.mk
@@ -22,8 +22,8 @@
# permissions and limitations under the License.
#
# IBM_PROLOG_END_TAG
-CFLAGS += -m32 -D_GNU_SOURCE -std=gnu99 -D_FILE_OFFSET_BITS=64 -I$(DEPTH)/.. -iquote..
-LDFLAGS += -L. -L$(DEPTH)/../clib/x86 -m32
+CFLAGS += -D_GNU_SOURCE -std=gnu99 -D_FILE_OFFSET_BITS=64 -I$(DEPTH)/.. -iquote..
+LDFLAGS += -L. -L$(DEPTH)/../clib/x86
OBJS=main.o
diff --git a/ecc/src/main.c b/ecc/src/main.c
index 7199919..53dbf47 100644
--- a/ecc/src/main.c
+++ b/ecc/src/main.c
@@ -247,7 +247,7 @@ static int validate_args(args_t * args)
args->file = strdup(args->path);
assert(args->file != NULL);
sprintf((char *)args->file, "%*s",
- strlen(args->path) - strlen(ECC_EXT),
+ (uint32_t)(strlen(args->path) - strlen(ECC_EXT)),
args->path);
fprintf(stderr, "%s: --output <file> missing, writing "
OpenPOWER on IntegriCloud