diff dbutil.h @ 640:76097ec1a29a dropbear-tfm

- Bring in original tomsfastmath patch against 0.52 from Peter Turczak in 2008
author Matt Johnston <matt@ucc.asn.au>
date Mon, 21 Nov 2011 19:19:57 +0800
parents b956d6151600
children 2b1bb792cd4d
line wrap: on
line diff
--- a/dbutil.h	Wed Nov 12 13:13:00 2008 +0000
+++ b/dbutil.h	Mon Nov 21 19:19:57 2011 +0800
@@ -69,8 +69,8 @@
 void disallow_core();
 int m_str_to_uint(const char* str, unsigned int *val);
 
-/* Used to force mp_ints to be initialised */
-#define DEF_MP_INT(X) mp_int X = {0, 0, 0, NULL}
+/* Used to force fp_ints to be initialised */
+#define DEF_FP_INT(X) fp_int X = {{},0, 0}
 
 /* Dropbear assertion */
 #define dropbear_assert(X) do { if (!(X)) { fail_assert(#X, __FILE__, __LINE__); } } while (0)