iron out all extra compiler warnings
[project/libubox.git] / examples / json_script-example.c
index 4d252a9a6bd2c4fe8aab657956de356ed65fda37..6d93059a412e3c829c29df1b41c9dece8852499d 100644 (file)
@@ -14,7 +14,7 @@ static void handle_command(struct json_script_ctx *ctx, const char *name,
        struct blob_attr *data, struct blob_attr *vars)
 {
        struct blob_attr *cur;
-       int rem;
+       size_t rem;
 
        fprintf(stdout, "%s", name);
        blobmsg_for_each_attr(cur, data, rem)