diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 14:33:19 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2022-04-03 14:33:19 -0700 |
commit | 63f48f29a8c93ead05b53823fc62fa909d527431 (patch) | |
tree | ee73fe9eccd6f99f75fb52c1f594385e7e356f17 | |
parent | 6c5d7d7ba21b69f606b832e38efe64a4805bd94e (diff) |
Fix -Wsign-compare warnings in PrintTableType1()
xcmsdb.c: In function ‘PrintTableType1’:
xcmsdb.c:299:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (count = 0; count < max_index+1; count++) {
^
xcmsdb.c:307:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (count = 0; count < max_index+1; count++) {
^
xcmsdb.c:315:24: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for (count = 0; count < max_index+1; count++) {
^
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r-- | xcmsdb.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -286,7 +286,7 @@ PrintTableType1(int format, char **pChar, unsigned long *pCount) * */ { - int count; + unsigned int count; unsigned int max_index; unsigned short hValue; XcmsFloat fValue; |