fwcutter: Fix type punning
[b43-tools.git] / fwcutter / md5.h
index ee574e4133f69004969058acac8465845b8be05c..10cb9f490838930f73b22b12cfe35e3a2a195ba8 100644 (file)
@@ -4,9 +4,12 @@
 #include <stdint.h>
 
 struct MD5Context {
-        uint32_t buf[4];
-        uint32_t bits[2];
-        unsigned char in[64];
+       uint32_t buf[4];
+       uint32_t bits[2];
+       union _u {
+               unsigned char in[64];
+               uint32_t in_u32[16];
+       } u;
 };
 
 void MD5Init(struct MD5Context *ctx);