aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gtk/gsm_map_stat.c8
-rw-r--r--gtk/isup_stat.c6
2 files changed, 8 insertions, 6 deletions
diff --git a/gtk/gsm_map_stat.c b/gtk/gsm_map_stat.c
index ddc66691d7..52c73040f1 100644
--- a/gtk/gsm_map_stat.c
+++ b/gtk/gsm_map_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: gsm_map_stat.c,v 1.1 2004/02/11 04:19:03 guy Exp $
+ * $Id: gsm_map_stat.c,v 1.2 2004/02/18 04:11:42 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -98,6 +98,7 @@ gsm_map_stat_packet(
tapdata = tapdata;
pinfo = pinfo;
+#if 0 /* always false because message_type is 8 bit value */
if (data_p->opr_code_idx > sizeof(stat.opr_code))
{
/*
@@ -105,6 +106,7 @@ gsm_map_stat_packet(
*/
return(0);
}
+#endif
stat.opr_code[data_p->opr_code_idx]++;
@@ -205,8 +207,8 @@ gsm_map_stat_gtk_sort_column(
gconstpointer ptr1,
gconstpointer ptr2)
{
- GtkCListRow *row1 = (GtkCListRow *) ptr1;
- GtkCListRow *row2 = (GtkCListRow *) ptr2;
+ const GtkCListRow *row1 = (const GtkCListRow *) ptr1;
+ const GtkCListRow *row2 = (const GtkCListRow *) ptr2;
char *text1 = NULL;
char *text2 = NULL;
int i1, i2;
diff --git a/gtk/isup_stat.c b/gtk/isup_stat.c
index 4b302043fc..827302297f 100644
--- a/gtk/isup_stat.c
+++ b/gtk/isup_stat.c
@@ -5,7 +5,7 @@
*
* MUCH code modified from service_response_time_table.c.
*
- * $Id: isup_stat.c,v 1.16 2004/02/11 04:28:48 guy Exp $
+ * $Id: isup_stat.c,v 1.17 2004/02/18 04:11:42 jmayer Exp $
*
* Ethereal - Network traffic analyzer
* By Gerald Combs <gerald@ethereal.com>
@@ -211,8 +211,8 @@ isup_stat_gtk_sort_column(
gconstpointer ptr1,
gconstpointer ptr2)
{
- GtkCListRow *row1 = (GtkCListRow *) ptr1;
- GtkCListRow *row2 = (GtkCListRow *) ptr2;
+ const GtkCListRow *row1 = (const GtkCListRow *) ptr1;
+ const GtkCListRow *row2 = (const GtkCListRow *) ptr2;
char *text1 = NULL;
char *text2 = NULL;
int i1, i2;