aboutsummaryrefslogtreecommitdiffstats
path: root/ui/gtk/uat_gui.c
diff options
context:
space:
mode:
authorMichael Mann <mmann78@netscape.net>2013-01-04 05:22:43 +0000
committerMichael Mann <mmann78@netscape.net>2013-01-04 05:22:43 +0000
commit86d690880fb63891d223aa663ca5901c790b74af (patch)
tree47187c5da15e3c239e9bf40c79601c196ac0f114 /ui/gtk/uat_gui.c
parentd36b4c8525161167a32eac3b1feb98f8f5d6184e (diff)
replace "unsigned" datatype with "guint". Some mpeg files needed "unsigned int" instead.
bugs 7825-7827 (https://bugs.wireshark.org/bugzilla/show_bug.cgi?id=7825) svn path=/trunk/; revision=46928
Diffstat (limited to 'ui/gtk/uat_gui.c')
-rw-r--r--ui/gtk/uat_gui.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/ui/gtk/uat_gui.c b/ui/gtk/uat_gui.c
index 880f67fcf9..4d27a057b8 100644
--- a/ui/gtk/uat_gui.c
+++ b/ui/gtk/uat_gui.c
@@ -99,7 +99,7 @@ struct _uat_rep_t {
struct _str_pair {
const char* ptr;
- unsigned len;
+ guint len;
};
struct _uat_dlg_data {
@@ -226,7 +226,7 @@ static guint8* unhexbytes(const char* si, guint len, guint* len_p, const char**
guint8* buf;
guint8* p;
const guint8* s = (void*)si;
- unsigned i;
+ guint i;
if (len % 2) {
*err = ep_strdup_printf("Uneven number of chars hex string %u \n'%s'",len, si);
@@ -293,7 +293,7 @@ static gboolean uat_dlg_cb(GtkWidget *win _U_, gpointer user_data) {
void* e = g_ptr_array_index(dd->entries,colnum);
const char *text = NULL;
char *text_free = NULL;
- unsigned len = 0;
+ guint len = 0;
switch(f[colnum].mode) {
case PT_TXTMOD_FILENAME: