bb11742 fix compile error in bytecode_api.c on Mac OS X.

This commit is contained in:
Steven Morgan
2017-02-15 14:07:50 -05:00
parent 0deac57322
commit ea4ab2bccc

View File

@@ -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);