Commit 78b8a772e46e92af2a2d0a53417cf47c87083eb7

Steffen Jaeckel 2014-09-23T22:55:08

fix compiler warnings with MP_16BIT

1
2
3
4
5
6
7
8
9
10
11
12
13
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