diff --git a/include/decaf.h b/include/decaf.h index b79097f..f62ea68 100644 --- a/include/decaf.h +++ b/include/decaf.h @@ -46,7 +46,8 @@ typedef struct decaf_scalar_s { static const decaf_bool_t DECAF_TRUE = -(decaf_bool_t)1, DECAF_FALSE = 0; /** NB Success is -1, failure is 0. TODO: see if people would rather the reverse. */ -static const decaf_bool_t DECAF_SUCCESS = DECAF_TRUE, DECAF_FAILURE = DECAF_FALSE; +static const decaf_bool_t DECAF_SUCCESS = -(decaf_bool_t)1 /*DECAF_TRUE*/, + DECAF_FAILURE = 0 /*DECAF_FALSE*/; /** The identity point on the curve. */ const decaf_point_t decaf_identity;