summaryrefslogtreecommitdiff
path: root/src/dged/command.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/dged/command.c')
-rw-r--r--src/dged/command.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/dged/command.c b/src/dged/command.c
index 2775286..5f2551f 100644
--- a/src/dged/command.c
+++ b/src/dged/command.c
@@ -79,7 +79,7 @@ void command_ctx_push_arg(struct command_ctx *ctx, const char *argv) {
}
void command_ctx_free(struct command_ctx *ctx) {
- for (uint32_t i = 0; i < ctx->saved_argc; ++i) {
+ for (uint32_t i = 0; i < (uint32_t)ctx->saved_argc; ++i) {
free((char *)ctx->saved_argv[i]);
}