catcrypt: Implement symmetric key-encapsulation and signature schemes.
[u/mdw/catacomb] / mpint.h
diff --git a/mpint.h b/mpint.h
index 13df890..23378cd 100644 (file)
--- a/mpint.h
+++ b/mpint.h
@@ -1,6 +1,6 @@
 /* -*-c-*-
  *
- * $Id: mpint.h,v 1.6 2004/04/08 01:36:15 mdw Exp $
+ * $Id$
  *
  * Conversion between MPs and standard C integers
  *
     _v++;                                                              \
     _max /= (mpd)MPW_MAX + 1;                                          \
   }                                                                    \
-  if (!(_m->f & MP_NEG))                                               \
+  if (!MP_NEGP(_m))                                                    \
     _i = -_i;                                                          \
   (i) = _i;                                                            \
 } while (0)