diff options
author | Felix Fietkau <nbd@openwrt.org> | 2014-10-02 11:44:49 +0200 |
---|---|---|
committer | Felix Fietkau <nbd@openwrt.org> | 2014-10-02 11:44:49 +0200 |
commit | 26af7a3680c06fe680172c665593f27e513fe2f3 (patch) | |
tree | 96756269e92db6a54214bd953fb7816b2471be48 | |
parent | b8e45d120ce97dd85e0fe13b4114593407da9973 (diff) |
make argument to get_pin_status int instead of enum to prevent invalid optimization
Signed-off-by: Felix Fietkau <nbd@openwrt.org>
-rw-r--r-- | commands-dms.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/commands-dms.c b/commands-dms.c index c40a38e..43b973e 100644 --- a/commands-dms.c +++ b/commands-dms.c @@ -1,6 +1,6 @@ #include "qmi-message.h" -static const char *get_pin_status(QmiDmsUimPinStatus status) +static const char *get_pin_status(int status) { static const char *pin_status[] = { [QMI_DMS_UIM_PIN_STATUS_NOT_INITIALIZED] = "not_initialized", |