There are many types that eventually turn into "signed byte"; for calls
authorGuy Harris <guy@alum.mit.edu>
Sun, 21 Jul 2013 22:01:22 +0000 (22:01 -0000)
committerGuy Harris <guy@alum.mit.edu>
Sun, 21 Jul 2013 22:01:22 +0000 (22:01 -0000)
to g_strlcpy(), use the one of them that it's documented as using.

svn path=/trunk/; revision=50771

epan/address_to_str.c

index aed63341f42d564406b950ca5e82bfc22ee2b96e..984e7aba7d09f6415c44c215fe26274fa6f2ffea 100644 (file)
@@ -592,7 +592,7 @@ address_to_str_buf(const address *addr, gchar *buf, int buf_len)
     mtp3_addr_to_str_buf((const mtp3_addr_pc_t *)addr->data, buf, buf_len);
     break;
   case AT_STRINGZ:
-    g_strlcpy(buf, (const gint8 *)addr->data, buf_len);
+    g_strlcpy(buf, (const gchar *)addr->data, buf_len);
     break;
   case AT_EUI64:                                       /* 24 bytes */
     tempptr = bytes_to_hexstr_punct(tempptr, (const guint8 *)addr->data, 8, ':');      /* 23 bytes */