[editcap] Pacify OS X buildbot.
Change-Id: I3ec3c4723d29d84b25419982712707126351a01c Reviewed-on: https://code.wireshark.org/review/13301 Reviewed-by: Michael Mann <mmann78@netscape.net> Petri-Dish: Michael Mann <mmann78@netscape.net> Reviewed-by: Guy Harris <guy@alum.mit.edu>
This commit is contained in:
parent
42f64a5813
commit
7bde1d70f2
|
@ -281,7 +281,7 @@ add_selection(char *sel, guint* max_selection)
|
|||
fprintf(stderr, "Not inclusive ...");
|
||||
|
||||
selectfrm[max_selected].inclusive = FALSE;
|
||||
selectfrm[max_selected].first = strtoul(sel, NULL, 10);
|
||||
selectfrm[max_selected].first = (guint)strtoul(sel, NULL, 10);
|
||||
if (selectfrm[max_selected].first < *max_selection)
|
||||
*max_selection = selectfrm[max_selected].first;
|
||||
|
||||
|
@ -293,8 +293,8 @@ add_selection(char *sel, guint* max_selection)
|
|||
|
||||
next = locn + 1;
|
||||
selectfrm[max_selected].inclusive = TRUE;
|
||||
selectfrm[max_selected].first = strtoul(sel, NULL, 10);
|
||||
selectfrm[max_selected].second = strtoul(next, NULL, 10);
|
||||
selectfrm[max_selected].first = (guint)strtoul(sel, NULL, 10);
|
||||
selectfrm[max_selected].second = (guint)strtoul(next, NULL, 10);
|
||||
|
||||
if (selectfrm[max_selected].second == 0)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue