Fix reversed byte order branches in read_uuo_frame_size.
authorTaylor R Campbell <campbell@mumble.net>
Sat, 19 Jan 2019 08:03:54 +0000 (08:03 +0000)
committerTaylor R Campbell <campbell@mumble.net>
Wed, 21 Aug 2019 21:34:03 +0000 (21:34 +0000)
src/microcode/cmpintmd/aarch64.c

index d9bed8e6204a5ba277007229e3f221e8f11c6c02..6bf4bfc88946db0f3ac736438ccb9b930d9df90b 100644 (file)
@@ -210,9 +210,9 @@ unsigned int
 read_uuo_frame_size (SCHEME_OBJECT * saddr)
 {
 #ifdef WORDS_BIGENDIAN
-  return ((saddr[1]) & 0xffff);
-#else
   return ((saddr[2]) & 0xffff);
+#else
+  return ((saddr[1]) & 0xffff);
 #endif
 }