From 78b8a772e46e92af2a2d0a53417cf47c87083eb7 Mon Sep 17 00:00:00 2001 From: Steffen Jaeckel Date: Tue, 23 Sep 2014 22:55:08 +0200 Subject: [PATCH] fix compiler warnings with MP_16BIT --- tommath.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tommath.h b/tommath.h index 496ce1c..591d67c 100644 --- a/tommath.h +++ b/tommath.h @@ -65,7 +65,7 @@ extern "C" { typedef unsigned short mp_word; #elif defined(MP_16BIT) typedef unsigned short mp_digit; - typedef unsigned long mp_word; + typedef unsigned int mp_word; #elif defined(MP_64BIT) /* for GCC only on supported platforms */ #ifndef CRYPT