Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Fix alignment check as 84148994 == 0x05040302

  • Loading branch information...
commit 0bbc9aaa1c7648670375cd2ed23754f736ac12aa 1 parent af48b10
@dago authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  configure.ac
View
2  configure.ac
@@ -423,7 +423,7 @@ AC_DEFUN([AC_C_ALIGNMENT],
*ptr = 0x1;
// catch unaligned word access (ARM cpus)
- *buf = 1; *(buf +1) = 2; *(buf + 2) = 2; *(buf + 3) = 3; *(buf + 4) = 4;
+ *buf = 1; *(buf +1) = 2; *(buf + 2) = 3; *(buf + 3) = 4; *(buf + 4) = 5;
int* i = (int*)(buf+1);
return (84148994 == i) ? 0 : 1;
])
Please sign in to comment.
Something went wrong with that request. Please try again.