From ea4ab2bccc9e8f200d38022667dfd323e4c28fa2 Mon Sep 17 00:00:00 2001 From: Steven Morgan Date: Wed, 15 Feb 2017 14:07:50 -0500 Subject: [PATCH] bb11742 fix compile error in bytecode_api.c on Mac OS X. --- libclamav/bytecode_api.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libclamav/bytecode_api.c b/libclamav/bytecode_api.c index f60b7ddca..bbff6499a 100644 --- a/libclamav/bytecode_api.c +++ b/libclamav/bytecode_api.c @@ -123,8 +123,8 @@ int32_t cli_bcapi_seek(struct cli_bc_ctx* ctx, int32_t pos, uint32_t whence) return -1; } if (off < 0 || off > ctx->file_size) { - cli_dbgmsg("bcapi_seek: out of file: %ld (max %d)\n", - off, ctx->file_size); + cli_dbgmsg("bcapi_seek: out of file: %lld (max %d)\n", + (long long)off, ctx->file_size); return -1; } cli_event_int(EV, BCEV_OFFSET, off);