From ce424e6d92d77e0000b1f6b7cc93c20062cc720b Mon Sep 17 00:00:00 2001 From: bloodstalker Date: Sun, 30 Sep 2018 18:29:30 +0330 Subject: some more fixes, mainly for tablegen and fualtreiber, will check later to make sure everything is working correctly --- bruiser/bruiser.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'bruiser/bruiser.cpp') diff --git a/bruiser/bruiser.cpp b/bruiser/bruiser.cpp index 726f963..048dc54 100644 --- a/bruiser/bruiser.cpp +++ b/bruiser/bruiser.cpp @@ -1546,8 +1546,8 @@ class LuaWrapper { int j = 0; printf("offset:\n"); while(1) { - printf("%02x ", lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j]); - if (lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j] == 11) { + printf("%02x ", (unsigned char)lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j]); + if (lib_ret->obj->W_Data_Section_container->entries[i]->offset->code[j] == 11U) { break; } j++; @@ -2209,6 +2209,7 @@ class RunLoop { /*cli execution loop*/ while((command = linenoise(">>>")) != NULL) { + //FIXME-if the current command is the same as last command skip adding to history linenoiseHistoryAdd(command); linenoiseHistorySave(SHELL_HISTORY_FILE.c_str()); le.RunChunk(command); -- cgit v1.2.3