...
|
...
|
@@ -1696,7 +1696,6 @@ int cli_bytecode_runhook(cli_ctx *cctx, const struct cl_engine *engine, struct c
|
1696
|
1696
|
cli_dbgmsg("Bytecode %u returned %u\n", bc->id, ret);
|
1697
|
1697
|
if (!ret) {
|
1698
|
1698
|
char *tempfile;
|
1699
|
|
- cli_ctx *cctx = ctx->ctx;
|
1700
|
1699
|
int fd = cli_bytecode_context_getresult_file(ctx, &tempfile);
|
1701
|
1700
|
if (fd != -1) {
|
1702
|
1701
|
if (cctx && cctx->engine->keeptmp)
|
...
|
...
|
@@ -1806,7 +1805,7 @@ void cli_bytecode_describe(const struct cli_bc *bc)
|
1806
|
1806
|
}
|
1807
|
1807
|
printf("\tnumber of functions: %u\n\tnumber of types: %u\n",
|
1808
|
1808
|
bc->num_func, bc->num_types);
|
1809
|
|
- printf("\tnumber of global constants: %u\n", bc->num_globals);
|
|
1809
|
+ printf("\tnumber of global constants: %u\n", (unsigned)bc->num_globals);
|
1810
|
1810
|
printf("\tnumber of debug nodes: %u\n", bc->dbgnode_cnt);
|
1811
|
1811
|
printf("\tbytecode APIs used:");
|
1812
|
1812
|
cols = 0; /* remaining */
|