diff options
author | Stephen Fisher <steve@stephen-fisher.com> | 2011-01-19 19:42:00 +0000 |
---|---|---|
committer | Stephen Fisher <steve@stephen-fisher.com> | 2011-01-19 19:42:00 +0000 |
commit | fb645f7e28f1ca4c617013f736f2d89e283ae7be (patch) | |
tree | d379f8205e68f8058839cbce8c75b628f291e30f /gtk | |
parent | 347d0a77bf4117d730fd3646d194588d886fc7c0 (diff) |
Cast the returned value from strlen() to an int to make the Windows 64-bit
buildbot happy.
svn path=/trunk/; revision=35585
Diffstat (limited to 'gtk')
-rw-r--r-- | gtk/main_proto_draw.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/main_proto_draw.c b/gtk/main_proto_draw.c index 5b351d393a..50a9bcec90 100644 --- a/gtk/main_proto_draw.c +++ b/gtk/main_proto_draw.c @@ -1578,9 +1578,9 @@ packet_hex_print(GtkWidget *bv, const guint8 *pd, frame_data *fd, /* In the hex view, only highlight the target bytes or string. The entire field can then be displayed by clicking on any of the bytes in the field. */ if (cfile.hex) { - blen = strlen(cfile.sfilter)/2; + blen = (int)strlen(cfile.sfilter)/2; } else { - blen = strlen(cfile.sfilter); + blen = (int)strlen(cfile.sfilter); } bstart = cfile.search_pos - (blen-1); } |