Fix wipemem.h for other architectures.
authorNIIBE Yutaka <gniibe@fsij.org>
Mon, 29 Jan 2018 09:54:51 +0000 (18:54 +0900)
committerNIIBE Yutaka <gniibe@fsij.org>
Mon, 29 Jan 2018 09:54:51 +0000 (18:54 +0900)
* src/wipemem.h (FASTWIPE_T): Defined.

--

GnuPG-bug-id: 3207
Signed-off-by: NIIBE Yutaka <gniibe@fsij.org>
src/wipemem.h

index 0ddaf10..ac5bebf 100644 (file)
@@ -33,6 +33,7 @@
      defined(__aarch64__)
 #  define _fast_wipememory2_unaligned_head(_ptr,_set,_len) /*do nothing*/
 # else
+#define FASTWIPE_T uint64_t
 #  define _fast_wipememory2_unaligned_head(_vptr,_vset,_vlen) do     \
     {                                                                \
       while((size_t)(_vptr)&(sizeof(FASTWIPE_T)-1) && _vlen)         \