diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/mm-port-probe.c | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/src/mm-port-probe.c b/src/mm-port-probe.c index 1700111f..f7708f31 100644 --- a/src/mm-port-probe.c +++ b/src/mm-port-probe.c @@ -1104,35 +1104,35 @@ serial_probe_at (MMPortProbe *self) } static const MMPortProbeAtCommand at_probing[] = { - { "AT", 3, mm_port_probe_response_processor_is_at }, - { "AT", 3, mm_port_probe_response_processor_is_at }, - { "AT", 3, mm_port_probe_response_processor_is_at }, + { (gchar *)"AT", 3, mm_port_probe_response_processor_is_at }, + { (gchar *)"AT", 3, mm_port_probe_response_processor_is_at }, + { (gchar *)"AT", 3, mm_port_probe_response_processor_is_at }, { NULL } }; static const MMPortProbeAtCommand vendor_probing[] = { - { "+CGMI", 3, mm_port_probe_response_processor_string }, - { "+GMI", 3, mm_port_probe_response_processor_string }, - { "I", 3, mm_port_probe_response_processor_string }, + { (gchar *)"+CGMI", 3, mm_port_probe_response_processor_string }, + { (gchar *)"+GMI", 3, mm_port_probe_response_processor_string }, + { (gchar *)"I", 3, mm_port_probe_response_processor_string }, { NULL } }; static const MMPortProbeAtCommand product_probing[] = { - { "+CGMM", 3, mm_port_probe_response_processor_string }, - { "+GMM", 3, mm_port_probe_response_processor_string }, - { "I", 3, mm_port_probe_response_processor_string }, + { (gchar *)"+CGMM", 3, mm_port_probe_response_processor_string }, + { (gchar *)"+GMM", 3, mm_port_probe_response_processor_string }, + { (gchar *)"I", 3, mm_port_probe_response_processor_string }, { NULL } }; static const MMPortProbeAtCommand icera_probing[] = { - { "%IPSYS?", 3, mm_port_probe_response_processor_string }, - { "%IPSYS?", 3, mm_port_probe_response_processor_string }, - { "%IPSYS?", 3, mm_port_probe_response_processor_string }, + { (gchar *)"%IPSYS?", 3, mm_port_probe_response_processor_string }, + { (gchar *)"%IPSYS?", 3, mm_port_probe_response_processor_string }, + { (gchar *)"%IPSYS?", 3, mm_port_probe_response_processor_string }, { NULL } }; static const MMPortProbeAtCommand xmm_probing[] = { - { "+XACT=?", 3, mm_port_probe_response_processor_string }, + { (gchar *)"+XACT=?", 3, mm_port_probe_response_processor_string }, { NULL } }; |