diff options
author | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-26 09:05:42 +0200 |
---|---|---|
committer | Aleksander Morgado <aleksander@lanedo.com> | 2012-09-26 09:05:42 +0200 |
commit | 43ab0d9f432e896bbb86a757daed34af7b3c8aa1 (patch) | |
tree | e4eeb330736bf866daae4798f72fce44b5233a8b | |
parent | 9bfa9214967a34a07f538026eca6b46355ddde4f (diff) |
fixup! libqmi-glib,utils: handle alignment issues when reading integers from the bufferalignment-fix
-rw-r--r-- | libqmi-glib/qmi-utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libqmi-glib/qmi-utils.c b/libqmi-glib/qmi-utils.c index a63124c..903b9a3 100644 --- a/libqmi-glib/qmi-utils.c +++ b/libqmi-glib/qmi-utils.c @@ -76,6 +76,7 @@ print_read_bytes_trace (const gchar *type, str2 = qmi_utils_str_hex (out, n_bytes, ':'); g_debug ("Read %s (%s) --> (%s)", type, str1, str2); + g_warn_if_fail (g_str_equal (str1, str2)); g_free (str1); g_free (str2); |