X-Git-Url: http://mj.ucw.cz/gitweb/?a=blobdiff_plain;f=images%2Ferror.h;h=77760b2a2197748e7bd645c075a5bd95e2cdcd1a;hb=97c0f0673d3bf8f426afb784e8b419c8931977cb;hp=0057ff8ac5d9d419330edee10ee1358bb1e2bc11;hpb=caa88a0e3b694ddb2a518b9b620355c2631735d2;p=libucw.git diff --git a/images/error.h b/images/error.h index 0057ff8a..77760b2a 100644 --- a/images/error.h +++ b/images/error.h @@ -5,7 +5,7 @@ #define image_trace ucw_image_trace #endif -extern uns image_trace; /* ImageLib.Trace */ +extern uint image_trace; /* ImageLib.Trace */ /* Error codes */ @@ -33,7 +33,7 @@ enum image_msg_code { #define IMAGE_ERROR(ctx, type, msg...) image_context_msg((ctx), IMAGE_MSG_ERROR | (type), msg) #define IMAGE_TRACE(ctx, level, msg...) do { \ - struct image_context *_ctx = (ctx); uns _level = (level); \ + struct image_context *_ctx = (ctx); uint _level = (level); \ if (_level < _ctx->tracing_level) image_context_msg(_ctx, IMAGE_MSG_TRACE | _level, msg); } while (0) #endif