ports/security/clamav/patches/patch-libclamav_bytecode_vm_c

15 lines
725 B
Text
Raw Normal View History

2023-08-16 22:26:55 +00:00
Index: libclamav/bytecode_vm.c
--- libclamav/bytecode_vm.c.orig
+++ libclamav/bytecode_vm.c
@@ -1326,8 +1326,8 @@ cl_error_t cli_vm_execute(const struct cli_bc *bc, str
gettimeofday(&tv1, NULL);
tv1.tv_sec -= tv0.tv_sec;
tv1.tv_usec -= tv0.tv_usec;
- cli_dbgmsg("interpreter bytecode run finished in %luus, after executing %u opcodes\n",
- tv1.tv_sec * 1000000 + tv1.tv_usec, pc);
+ cli_dbgmsg("interpreter bytecode run finished in %lluus, after executing %u opcodes\n",
+ (long long)tv1.tv_sec * 1000000 + tv1.tv_usec, pc);
}
if (stop == CL_EBYTECODE) {
cli_event_error_str(ctx->bc_events, "interpreter finished with error\n");