15 lines
725 B
Text
15 lines
725 B
Text
|
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");
|