diff options
author | Sunil Jogi <sunil.jogi@nxp.com> | 2012-05-22 19:22:58 -0700 |
---|---|---|
committer | Martijn Coenen <maco@google.com> | 2012-05-23 08:37:35 -0700 |
commit | ba0407599b6271f47a4e6e6d539522ae5b207287 (patch) | |
tree | 5f5338f2a9e191b54d0df22db7f777382d443c11 /src | |
parent | 9d5e63503d2d948bc73e85dff7b9995f3cb1ca24 (diff) | |
download | external_libnfc-nxp-ba0407599b6271f47a4e6e6d539522ae5b207287.zip external_libnfc-nxp-ba0407599b6271f47a4e6e6d539522ae5b207287.tar.gz external_libnfc-nxp-ba0407599b6271f47a4e6e6d539522ae5b207287.tar.bz2 |
Fix wrong extern variable size
nxp_nfc_felica_timeout originally uint8_t but current source has
uint32_t. Changed to uint8_t to fix the problem. Without fix it
overwrite the other global memory region which can create problem
in other section of code.
Diffstat (limited to 'src')
-rw-r--r-- | src/phLibNfc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/phLibNfc.c b/src/phLibNfc.c index c7c37c8..6477a3f 100644 --- a/src/phLibNfc.c +++ b/src/phLibNfc.c @@ -162,7 +162,7 @@ int phLibNfc_GetHciTimeout() { return nxp_nfc_hci_response_timeout; } -extern uint32_t nxp_nfc_felica_timeout; +extern uint8_t nxp_nfc_felica_timeout; NFCSTATUS phLibNfc_SetFelicaTimeout(uint8_t timeout_in_ms) { nxp_nfc_felica_timeout = timeout_in_ms; return NFCSTATUS_SUCCESS; |