From 26af7a3680c06fe680172c665593f27e513fe2f3 Mon Sep 17 00:00:00 2001 From: Felix Fietkau Date: Thu, 2 Oct 2014 11:44:49 +0200 Subject: make argument to get_pin_status int instead of enum to prevent invalid optimization Signed-off-by: Felix Fietkau --- commands-dms.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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", -- cgit v1.2.3