diff --git a/src/lib_rdi_format/rdi_format_parse.c b/src/lib_rdi_format/rdi_format_parse.c index 7ce26cc4..6f51204d 100644 --- a/src/lib_rdi_format/rdi_format_parse.c +++ b/src/lib_rdi_format/rdi_format_parse.c @@ -815,7 +815,7 @@ rdi_cstring_length(char *cstr) } RDI_PROC RDI_U64 -rdi_size_from_bytecode_stream(U8 *ptr, U8 *opl) +rdi_size_from_bytecode_stream(RDI_U8 *ptr, RDI_U8 *opl) { RDI_U64 bytecode_size = 0; RDI_U8 *off_first = ptr + sizeof(RDI_LocationKind); @@ -826,7 +826,7 @@ rdi_size_from_bytecode_stream(U8 *ptr, U8 *opl) { break; } - + RDI_U16 ctrlbits = rdi_eval_op_ctrlbits_table[op]; RDI_U32 p_size = RDI_DECODEN_FROM_CTRLBITS(ctrlbits); bytecode_size += (1 + p_size); diff --git a/src/lib_rdi_format/rdi_format_parse.h b/src/lib_rdi_format/rdi_format_parse.h index 455b7eb2..1e82e501 100644 --- a/src/lib_rdi_format/rdi_format_parse.h +++ b/src/lib_rdi_format/rdi_format_parse.h @@ -225,6 +225,6 @@ RDI_PROC RDI_U8 *rdi_name_from_file_path_node(RDI_Parsed *rdi, RDI_FilePathNode #define rdi_parse__min(a,b) (((a)<(b))?(a):(b)) RDI_PROC RDI_U64 rdi_cstring_length(char *cstr); -RDI_PROC RDI_U64 rdi_size_from_bytecode_stream(U8 *ptr, U8 *opl); +RDI_PROC RDI_U64 rdi_size_from_bytecode_stream(RDI_U8 *ptr, RDI_U8 *opl); #endif // RDI_FORMAT_PARSE_H diff --git a/src/rdi_breakpad_from_pdb/rdi_breakpad_from_pdb_main.c b/src/rdi_breakpad_from_pdb/rdi_breakpad_from_pdb_main.c index f3c72e7e..fb5bdf9c 100644 --- a/src/rdi_breakpad_from_pdb/rdi_breakpad_from_pdb_main.c +++ b/src/rdi_breakpad_from_pdb/rdi_breakpad_from_pdb_main.c @@ -23,6 +23,7 @@ #include "os/os_inc.h" #include "async/async.h" #include "rdi_make/rdi_make_local.h" +#include "rdi_make/rdi_make_help.h" #include "coff/coff.h" #include "coff/coff_parse.h" #include "codeview/codeview.h" @@ -40,6 +41,7 @@ #include "os/os_inc.c" #include "async/async.c" #include "rdi_make/rdi_make_local.c" +#include "rdi_make/rdi_make_help.c" #include "coff/coff.c" #include "coff/coff_parse.c" #include "codeview/codeview.c"