diff options
author | Stig Bjørlykke <stig@bjorlykke.org> | 2010-10-29 20:54:08 +0000 |
---|---|---|
committer | Stig Bjørlykke <stig@bjorlykke.org> | 2010-10-29 20:54:08 +0000 |
commit | 04b977c4e691b9011122c9d805583153043a3cab (patch) | |
tree | df1fe4b12496deafcb2cd73c09b78c52d27de9ea /gtk/uat_gui.c | |
parent | f543357d142288e14dbfedeb0d35bdd139abea15 (diff) | |
download | wireshark-04b977c4e691b9011122c9d805583153043a3cab.tar.gz wireshark-04b977c4e691b9011122c9d805583153043a3cab.tar.bz2 wireshark-04b977c4e691b9011122c9d805583153043a3cab.zip |
Added a cast from size_t to unsigned int.
svn path=/trunk/; revision=34693
Diffstat (limited to 'gtk/uat_gui.c')
-rw-r--r-- | gtk/uat_gui.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/uat_gui.c b/gtk/uat_gui.c index 307fb91f38..070a605861 100644 --- a/gtk/uat_gui.c +++ b/gtk/uat_gui.c @@ -425,7 +425,7 @@ static void uat_edit_dialog(uat_t* uat, gint row, gboolean copy) { if (copy && row >= 0) { dd->rec = g_malloc0(uat->record_size); if (uat->copy_cb) { - uat->copy_cb (dd->rec, UAT_INDEX_PTR(uat,row), uat->record_size); + uat->copy_cb (dd->rec, UAT_INDEX_PTR(uat,row), (unsigned int) uat->record_size); } dd->is_new = TRUE; } else if (row >= 0) { |