diff options
author | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-02 03:09:03 +0000 |
---|---|---|
committer | erin_yueh <erin_yueh@99fdad57-331a-0410-800a-d7fa5415bdb3> | 2008-01-02 03:09:03 +0000 |
commit | a38a88c8f168f93f2c9d257607e5289d3b485874 (patch) | |
tree | 1124c7fc2cfeb9c83cb0b4d0f66287705e0201c2 /src | |
parent | a0eefdac56ebfe90b9a9e12dd582f1908a7735e9 (diff) |
gsmd: add TP-STATUS return code table (Erin Yueh)
git-svn-id: http://svn.openmoko.org/trunk/src/target/gsm@3758 99fdad57-331a-0410-800a-d7fa5415bdb3
Diffstat (limited to 'src')
-rw-r--r-- | src/gsmd/sms_pdu.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gsmd/sms_pdu.c b/src/gsmd/sms_pdu.c index ae7a69d..08a0c1a 100644 --- a/src/gsmd/sms_pdu.c +++ b/src/gsmd/sms_pdu.c @@ -221,9 +221,9 @@ int sms_pdu_to_msg(struct gsmd_sms_list *dst, return 1; /* TP-MR set it gsmd_sms_list.index*/ - dst->index = (int) src[1]; + dst->index = (u_int8_t) src[1]; /* TP-STATUS set it to coding_scheme */ - dst->payload.coding_scheme = (int) src[len-1]; + dst->payload.coding_scheme = (u_int8_t) src[len-1]; /* TP-RA */ i = sms_number_bytelen(src[3], src[2]); if (len < 13 + i) |