summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/output/amgc_output_enum.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/amgc_output_enum.c b/src/output/amgc_output_enum.c
index 3c8288b..99d6bfb 100644
--- a/src/output/amgc_output_enum.c
+++ b/src/output/amgc_output_enum.c
@@ -67,7 +67,7 @@ static int output_enum(
else if ((enumval->enumval >= 0) && (enumval->enumval < 2048))
fprintf(fout,"= %d",enumval->enumval);
else
- fprintf(fout,"= 0x%08x",enumval->enumval);
+ fprintf(fout,"= 0x%08x",(unsigned)enumval->enumval);
if (fputs(",\n",fout) < 0)
return -1;