ANNOUNCEMENT: Live Wireshark University & Allegro Packets online APAC Wireshark Training Session
April 17th, 2024 | 14:30-16:00 SGT (UTC+8) | Online

Ethereal-dev: [Ethereal-dev] C++ comments in g711.c

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

From: Albert Chin <ethereal-dev@xxxxxxxxxxxxxxxxxx>
Date: Mon, 10 Mar 2003 13:48:44 -0600
C++ comments not valid in C source file.

-- 
albert chin (china@xxxxxxxxxxxxxxxxxx)

-- snip snip
--- g711.c.orig	Mon Mar 10 13:45:54 2003
+++ g711.c	Mon Mar 10 13:46:03 2003
@@ -152,7 +152,7 @@
 {
 	int		t;
 	int		seg;
-	//printf(" vrednost a_val %X ", a_val);
+	/*printf(" vrednost a_val %X ", a_val);*/
 	a_val ^= 0x55;
 
 	t = (a_val & QUANT_MASK) << 4;
@@ -168,7 +168,7 @@
 		t += 0x108;
 		t <<= seg - 1;
 	}
-	//printf("izracunan int %d in njegov hex %X \n", t,t);
+	/*printf("izracunan int %d in njegov hex %X \n", t,t);*/
 	return ((a_val & SIGN_BIT) ? t : -t);
 }