FreeCalypso > hg > fc-selenite
diff src/g23m-aci/aci/psa.h @ 99:09f9a422baa6
gcc-specific fix for AT+CFUN from Citrine
author | Mychaela Falconia <falcon@freecalypso.org> |
---|---|
date | Sat, 21 Jul 2018 03:36:09 +0000 |
parents | d393cd9bb723 |
children |
line wrap: on
line diff
--- a/src/g23m-aci/aci/psa.h Sat Jul 21 02:23:48 2018 +0000 +++ b/src/g23m-aci/aci/psa.h Sat Jul 21 03:36:09 2018 +0000 @@ -26,7 +26,10 @@ #define OWN_ATI 1 typedef enum /* owner id's */ { - OWN_SRC_INV = CMD_SRC_MAX, /* not a valid owner */ +#ifdef __GNUC__ + OWN_NONE = -1, /* make gcc treat this enum as signed */ +#endif + OWN_SRC_INV = CMD_SRC_MAX, /* not a valid owner */ OWN_SRC_SAT, /* SIM application toolkit */ OWN_SRC_MAX /* maximum owners */ } T_OWN;