about summary refs log tree commit diff stats
path: root/miasm/core/bin_stream.py
diff options
context:
space:
mode:
Diffstat (limited to 'miasm/core/bin_stream.py')
-rw-r--r--miasm/core/bin_stream.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/miasm/core/bin_stream.py b/miasm/core/bin_stream.py
index 727a853d..9224053f 100644
--- a/miasm/core/bin_stream.py
+++ b/miasm/core/bin_stream.py
@@ -137,7 +137,7 @@ class bin_stream(object):
         if endianness == LITTLE_ENDIAN:
             return upck16le(data)
         else:
-            return upck32be(data)
+            return upck16be(data)
 
     def get_u32(self, addr, endianness=None):
         """