diff options
author | midipix <writeonce@midipix.org> | 2016-01-09 16:56:57 -0500 |
---|---|---|
committer | midipix <writeonce@midipix.org> | 2016-01-09 16:56:57 -0500 |
commit | 49cc053cfe974d7f30d4e3a0d102e6e44e96cb79 (patch) | |
tree | 86b113e1fb887c68c217e7a21426eb47f7547637 /src | |
parent | 2a9902da13e19e61ed81e825db05c161e279ee55 (diff) | |
download | apimagic-49cc053cfe974d7f30d4e3a0d102e6e44e96cb79.tar.bz2 apimagic-49cc053cfe974d7f30d4e3a0d102e6e44e96cb79.tar.xz |
output_enum(): cast to unsigned when comparing layout->symwith with size_t len.
Diffstat (limited to 'src')
-rw-r--r-- | src/output/amgc_output_enum.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/output/amgc_output_enum.c b/src/output/amgc_output_enum.c index 99d6bfb..9498774 100644 --- a/src/output/amgc_output_enum.c +++ b/src/output/amgc_output_enum.c @@ -40,7 +40,7 @@ static int output_enum( ? enumval->altname : enumval->entity->base.symbol->string); - if (len > elayout.symwidth) + if (len > (unsigned)elayout.symwidth) elayout.symwidth = len; } } |