diff --git a/client/src/aidsearch.c b/client/src/aidsearch.c index 291d2035c..7361442b0 100644 --- a/client/src/aidsearch.c +++ b/client/src/aidsearch.c @@ -122,8 +122,8 @@ int PrintAIDDescription(json_t *xroot, char *aid, bool verbose) { goto out; json_t *elm = NULL; - int maxaidlen = 0; - for (int elmindx = 0; elmindx < json_array_size(root); elmindx++) { + uint32_t maxaidlen = 0; + for (uint32_t elmindx = 0; elmindx < json_array_size(root); elmindx++) { json_t *data = AIDSearchGetElm(root, elmindx); if (data == NULL) continue;