FreeCalypso > hg > fc-selenite
changeset 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 | 5fe5853f4e63 |
| children | 5280c5f4c5cd |
| files | src/g23m-aci/aci/psa.h |
| diffstat | 1 files changed, 4 insertions(+), 1 deletions(-) [+] |
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;
