From 905c8a48e96350af002536b627b46fbf517f727c Mon Sep 17 00:00:00 2001 From: Aleksander Morgado Date: Wed, 23 Nov 2016 16:19:57 +0100 Subject: libqcdm,libwmc: use C99 sized types from stdint.h --- src/mm-broadband-modem.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src') diff --git a/src/mm-broadband-modem.c b/src/mm-broadband-modem.c index 5834e0cb..3d7f09f4 100644 --- a/src/mm-broadband-modem.c +++ b/src/mm-broadband-modem.c @@ -603,7 +603,7 @@ mode_pref_qcdm_ready (MMPortSerialQcdm *port, { QcdmResult *result; gint err = QCDM_SUCCESS; - u_int8_t pref = 0; + uint8_t pref = 0; GError *error = NULL; GByteArray *response; @@ -1726,9 +1726,9 @@ qcdm_evdo_pilot_sets_log_handle (MMPortSerialQcdm *port, { MMBroadbandModem *self = MM_BROADBAND_MODEM (user_data); QcdmResult *result; - u_int32_t num_active = 0; - u_int32_t pilot_pn = 0; - u_int32_t pilot_energy = 0; + uint32_t num_active = 0; + uint32_t pilot_pn = 0; + uint32_t pilot_energy = 0; int32_t rssi_dbm = 0; result = qcdm_log_item_evdo_pilot_sets_v2_new ((const char *) log_buffer->data, @@ -6854,7 +6854,7 @@ modem_cdma_setup_cleanup_unsolicited_events (MMBroadbandModem *self, { CdmaUnsolicitedEventsContext *ctx; GByteArray *logcmd; - u_int16_t log_items[] = { DM_LOG_ITEM_EVDO_PILOT_SETS_V2, 0 }; + uint16_t log_items[] = { DM_LOG_ITEM_EVDO_PILOT_SETS_V2, 0 }; GError *error = NULL; ctx = g_new0 (CdmaUnsolicitedEventsContext, 1); -- cgit v1.2.3-70-g09d2