Wireshark-commits: [Wireshark-commits] rev 50087: /trunk/ /trunk/: version_info.c

Date: Thu, 20 Jun 2013 21:10:18 GMT
http://anonsvn.wireshark.org/viewvc/viewvc.cgi?view=rev&revision=50087

User: alagoutte
Date: 2013/06/20 02:10 PM

Log:
 Fix warning about CPUInfo in Linux (when use qmake to build qtshark)
 
 ../../version_info.c: In function 'get_cpu_info':
 ../../version_info.c:662:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
 ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'
 ../../version_info.c:670:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
 ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'
 ../../version_info.c:672:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
 ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'
 ../../version_info.c:674:5: warning: pointer targets in passing argument 1 of 'do_cpuid' differ in signedness [-Wpointer-sign]
 ../../version_info.c:622:1: note: expected 'guint32 *' but argument is of type 'int *'

Directory: /trunk/
  Changes    Path              Action
  +5 -1      version_info.c    Modified