]> mj.ucw.cz Git - libucw.git/blobdiff - images/context.c
Opt: Constify
[libucw.git] / images / context.c
index 1248e8850f6e47696dfa3868aeeec2b8d60a3d44..82ff16557ca708fb8e446eafdd66d6a81124dcb8 100644 (file)
@@ -44,7 +44,7 @@ image_context_msg_silent(struct image_context *ctx UNUSED)
 }
 
 void
-image_context_msg(struct image_context *ctx, uns code, char *msg, ...)
+image_context_msg(struct image_context *ctx, uint code, char *msg, ...)
 {
   va_list args;
   va_start(args, msg);
@@ -53,7 +53,7 @@ image_context_msg(struct image_context *ctx, uns code, char *msg, ...)
 }
 
 void
-image_context_vmsg(struct image_context *ctx, uns code, char *msg, va_list args)
+image_context_vmsg(struct image_context *ctx, uint code, char *msg, va_list args)
 {
   ctx->msg_code = code;
   ctx->msg = bb_vprintf(&ctx->msg_buf, msg, args);