]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/mifarehost.c
add force_align_arg_pointer attribute to all callback functions
[proxmark3-svn] / client / mifarehost.c
index d204bf12c87e9a3358eba16c392e05a80ae980dc..dd656ee1f24253677c4d1b5199db28203e784a33 100644 (file)
@@ -295,7 +295,13 @@ typedef
 \r
 \r
 // wrapper function for multi-threaded lfsr_recovery32\r
-void* nested_worker_thread(void *arg)\r
+void\r
+#ifdef __has_attribute\r
+#if __has_attribute(force_align_arg_pointer)\r
+__attribute__((force_align_arg_pointer)) \r
+#endif\r
+#endif\r
+*nested_worker_thread(void *arg)\r
 {\r
        struct Crypto1State *p1;\r
        StateList_t *statelist = arg;\r
@@ -309,6 +315,7 @@ void* nested_worker_thread(void *arg)
        return statelist->head.slhead;\r
 }\r
 \r
+\r
 int mfnested(uint8_t blockNo, uint8_t keyType, uint8_t *key, uint8_t trgBlockNo, uint8_t trgKeyType, uint8_t *resultKey, bool calibrate)\r
 {\r
        uint16_t i;\r
Impressum, Datenschutz