aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/vms.c
diff options
context:
space:
mode:
authorJörg Mayer <jmayer@loplof.de>2004-01-24 16:48:12 +0000
committerJörg Mayer <jmayer@loplof.de>2004-01-24 16:48:12 +0000
commit6e59f95cebdf2d1dc748d7f1ee06264a95fee03b (patch)
tree0938206fac53aeeeca1fd6d0fcc604cc347c5fb5 /wiretap/vms.c
parent65f18bb833c0259fa3705b6f3147f95354d4a101 (diff)
Fix all fixable warnings
Move addional warnings from extra-gcc-checks to normal compilation flags svn path=/trunk/; revision=9826
Diffstat (limited to 'wiretap/vms.c')
-rw-r--r--wiretap/vms.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/wiretap/vms.c b/wiretap/vms.c
index 3dc505859a..9258b234d7 100644
--- a/wiretap/vms.c
+++ b/wiretap/vms.c
@@ -1,6 +1,6 @@
/* vms.c
*
- * $Id: vms.c,v 1.19 2003/05/27 10:14:06 guy Exp $
+ * $Id: vms.c,v 1.20 2004/01/24 16:48:12 jmayer Exp $
*
* Wiretap Library
* Copyright (c) 2001 by Marc Milgram <ethereal@mmilgram.NOSPAMmail.net>
@@ -334,7 +334,7 @@ vms_seek_read (wtap *wth, long seek_off,
* by 3 spaces.
*/
static int
-isdumpline( guchar *line )
+isdumpline( gchar *line )
{
int i, j;
@@ -365,8 +365,8 @@ parse_vms_rec_hdr(wtap *wth, FILE_T fh, int *err)
int csec = 101;
struct tm time;
char mon[4] = {'J', 'A', 'N', 0};
- guchar *p;
- static guchar months[] = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC";
+ gchar *p;
+ static gchar months[] = "JANFEBMARAPRMAYJUNJULAUGSEPOCTNOVDEC";
time.tm_year = 1970;
time.tm_hour = 1;
@@ -446,7 +446,7 @@ parse_vms_rec_hdr(wtap *wth, FILE_T fh, int *err)
static gboolean
parse_vms_hex_dump(FILE_T fh, int pkt_len, guint8* buf, int *err)
{
- guchar line[VMS_LINE_LENGTH + 1];
+ gchar line[VMS_LINE_LENGTH + 1];
int i;
int offset = 0;