Wireshark-commits: [Wireshark-commits] rev 50756: /trunk/epan/ /trunk/epan/: address_to_str.c
Date: Sun, 21 Jul 2013 14:28:09 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50756

User: jmayer
Date: 2013/07/21 07:28 AM

Log:
 Fix
 
 /home/jmayer/work/wireshark/svn/trunk/epan/address_to_str.c:595:20: error: passing
       'const guint8 *' (aka 'const unsigned char *') to parameter of type
       'const gchar *' (aka 'const char *') converts between pointers to integer types
       with different sign [-Werror,-Wpointer-sign]
     g_strlcpy(buf, (const guint8 *)addr->data, buf_len);
                    ^~~~~~~~~~~~~~~~~~~~~~~~~~
 /usr/include/glib-2.0/glib/gstrfuncs.h:110:20: note: passing argument to parameter 'src'
       here
                                         const gchar  *src,
                                                       ^

Directory: /trunk/epan/
  Changes    Path                Action
  +1 -1      address_to_str.c    Modified