diff options
author | Aki Niemi <aki.niemi@nokia.com> | 2011-04-14 14:33:52 +0300 |
---|---|---|
committer | Aki Niemi <aki.niemi@nokia.com> | 2011-04-14 15:30:23 +0300 |
commit | 5d7b355ca255042b733d81dc1ae569c50d236125 (patch) | |
tree | 651c676e912df823949b25114a6dea999f19a13d /drivers/isimodem | |
parent | 6c8f1d059a353b5665d46df1cf35b8c05e5801f8 (diff) | |
download | ofono-5d7b355ca255042b733d81dc1ae569c50d236125.tar.bz2 |
isimodem: Fix macro to be safer to use
Diffstat (limited to 'drivers/isimodem')
-rw-r--r-- | drivers/isimodem/isiutil.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/isimodem/isiutil.h b/drivers/isimodem/isiutil.h index a1fed1ea..36f15327 100644 --- a/drivers/isimodem/isiutil.h +++ b/drivers/isimodem/isiutil.h @@ -73,7 +73,7 @@ static inline struct isi_cb_data *isi_cb_data_new(void *user, void *cb, #define ALIGN4(val) (((val) + 3) & ~3) #define ISI_16BIT(val) \ - (((val) >> 8) & 0xFF), ((val & 0xFF)) + (((val) >> 8) & 0xFF), ((val) & 0xFF) #define ISI_32BIT(val) \ (((val) >> 24) & 0xFF), (((val) >> 16) & 0xFF), \ |