From 1bc049906a35c3490532ab68fcbf90750c225f77 Mon Sep 17 00:00:00 2001 From: Guy Harris Date: Mon, 23 Apr 2007 10:59:26 +0000 Subject: Add some GCC warnings to the standard set, and add some others to the --enable-extra-gcc-checks set. If we turn on -pedantic, try turning on -Wno-long-long as well, so that it's not *so* pedantic that it rejects the 64-bit integral data types that we explicitly require. Constify a bunch of stuff, and make some other changes, to get rid of warnings. Clean up some indentation. svn path=/trunk/; revision=21526 --- epan/tvbuff.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'epan/tvbuff.h') diff --git a/epan/tvbuff.h b/epan/tvbuff.h index 7957456302..58d60f9c50 100644 --- a/epan/tvbuff.h +++ b/epan/tvbuff.h @@ -391,7 +391,7 @@ extern gint tvb_find_guint8(tvbuff_t*, gint offset, gint maxlength, * maxlength exceeds boundary of tvbuff; in that case, -1 will be returned if * the boundary is reached before finding needle. */ extern gint tvb_pbrk_guint8(tvbuff_t *, gint offset, gint maxlength, - guint8 *needles); + const guint8 *needles); /** Find size of stringz (NUL-terminated string) by looking for terminating * NUL. The size of the string includes the terminating NUL. -- cgit v1.2.3