Ethereal-dev: [ethereal-dev] stupid -Wall patch

Note: This archive is from the project's previous web site, ethereal.com. This list is no longer active.

From: Bill Fumerola <billf@xxxxxxxxxxxxxx>
Date: Tue, 26 Oct 1999 16:45:27 -0400 (EDT)
Hola folks,

maybe my types are different then everyone elses but ntohl() returns
an unsigned long for me.. this fixes the warning.

-- 
- bill fumerola - billf@xxxxxxxxxxxxxx - BF1560 - computer horizons corp -
- ph:(800) 252-2421 - bfumerol@xxxxxxxxxxxxxxxxxxxx - billf@xxxxxxxxxxx  -




---------- Forwarded message ----------
Date: Tue, 26 Oct 1999 17:39:25 -0400 (EDT)
From: Bill Fumerola <billf@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
To: billf@xxxxxxxxxxxxxxxxxxx

--- packet-rx.c.old	Tue Oct 26 17:37:23 1999
+++ packet-rx.c	Tue Oct 26 17:38:32 1999
@@ -153,8 +153,8 @@
 	if (check_col(fd, COL_INFO))
 		col_add_fstr(fd, COL_INFO,
 			"Type: %s  "
-			"Seq: %d  "
-			"Call: %d  "
+			"Seq: %lu  "
+			"Call: %lu  "
 			"Source Port: %s  "
 			"Destination Port: %s  ",
 			val_to_str(rxh->type, rx_types, "%d"),