[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-6156-g094ec9b

Török Edvin edwin at clamav.net
Sun Apr 4 01:12:17 UTC 2010


The following commit has been merged in the debian/unstable branch:
commit 92ba8d661cf7f2280f9d55fe0d2b2b3c4ba5ba4e
Author: Török Edvin <edwin at clamav.net>
Date:   Sat Dec 12 14:45:55 2009 +0200

    Attempt to fix SunC build: enum/unsigned mismatch is not allowed.

diff --git a/libclamav/bytecode.h b/libclamav/bytecode.h
index bed6534..d130245 100644
--- a/libclamav/bytecode.h
+++ b/libclamav/bytecode.h
@@ -122,7 +122,7 @@ void cli_bytecode_debug_printsrc(const struct cli_bc_ctx *ctx);
 typedef void (*bc_dbg_callback_trace)(struct cli_bc_ctx*, unsigned event);
 typedef void (*bc_dbg_callback_trace_op)(struct cli_bc_ctx*, const char *op);
 typedef void (*bc_dbg_callback_trace_val)(struct cli_bc_ctx*, const char *name, uint32_t value);
-void cli_bytecode_context_set_trace(struct cli_bc_ctx*, unsigned mask,
+void cli_bytecode_context_set_trace(struct cli_bc_ctx*, unsigned level,
 				    bc_dbg_callback_trace,
 				    bc_dbg_callback_trace_op,
 				    bc_dbg_callback_trace_val);
diff --git a/libclamav/bytecode_api.c b/libclamav/bytecode_api.c
index 4d9c581..bdb0d6e 100644
--- a/libclamav/bytecode_api.c
+++ b/libclamav/bytecode_api.c
@@ -139,7 +139,7 @@ int32_t cli_bcapi_write(struct cli_bc_ctx *ctx, uint8_t*data, int32_t len)
     return res;
 }
 
-void cli_bytecode_context_set_trace(struct cli_bc_ctx* ctx, enum trace_level level,
+void cli_bytecode_context_set_trace(struct cli_bc_ctx* ctx, unsigned level,
 				    bc_dbg_callback_trace trace,
 				    bc_dbg_callback_trace_op trace_op,
 				    bc_dbg_callback_trace_val trace_val)

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list