From dce5743ddfa40f1c6bbab2d17fd5b588ba88a4ac Mon Sep 17 00:00:00 2001 From: Louis Rubet Date: Sat, 29 Apr 2017 16:09:50 +0200 Subject: [PATCH] #44: debug get_binary_bin --- src/parse.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/parse.h b/src/parse.h index 619181a..fbefa80 100644 --- a/src/parse.h +++ b/src/parse.h @@ -414,8 +414,8 @@ static bool get_binary_bin(const string& entry, program& prog, string& remaining if (entry.at(i+1)=='1') { val+=exponent; - exponent/=2; } + exponent>>=1; } binary* new_binary = (binary*)prog.allocate_back((unsigned int)sizeof(binary), cmd_binary);