From: Felix Fietkau Date: Thu, 2 Oct 2014 09:44:49 +0000 (+0200) Subject: make argument to get_pin_status int instead of enum to prevent invalid optimization X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=26af7a3680c06fe680172c665593f27e513fe2f3;p=oweals%2Fuqmi.git make argument to get_pin_status int instead of enum to prevent invalid optimization Signed-off-by: Felix Fietkau --- 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",