changeset 862:1b63cc243341

fixed psa_IsVldOwnId() miscompilation that blocked +CFUN enabling
author Space Falcon <falcon@ivan.Harhan.ORG>
date Sun, 03 May 2015 21:23:34 +0000
parents 6ffebb8cec78
children 78c894c7c471
files gsm-fw/g23m-aci/aci/psa.h
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/gsm-fw/g23m-aci/aci/psa.h	Sun May 03 05:10:58 2015 +0000
+++ b/gsm-fw/g23m-aci/aci/psa.h	Sun May 03 21:23:34 2015 +0000
@@ -26,7 +26,8 @@
 #define OWN_ATI   1
 typedef enum                      /* owner id's */
 {
-  OWN_SRC_INV = CMD_SRC_MAX,                     /* not a valid owner */
+  OWN_NONE = -1,                      /* make gcc treat this enum as signed */
+  OWN_SRC_INV = CMD_SRC_MAX,          /* not a valid owner */
   OWN_SRC_SAT,                        /* SIM application toolkit */
   OWN_SRC_MAX                         /* maximum owners */
 } T_OWN;