aboutsummaryrefslogtreecommitdiffstats
path: root/gtk/mtp3_stat.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-04-26 07:57:44 +0000
committerGuy Harris <guy@alum.mit.edu>2007-04-26 07:57:44 +0000
commit08ab8d873444e9a944ff9ed1a856655a8a01322f (patch)
treeda7b3e6314a0973cea9f9fd1e99d3cdc9835b497 /gtk/mtp3_stat.c
parentccac0e798358b53f4efea8988421f7a8c26ffaa5 (diff)
mtp3_addr_to_str_buf() and mtp3_pc_hash() expect to be passed a pointer
to a mtp3_addr_pc_t; declare them as such, and pass the argument as such. svn path=/trunk/; revision=21595
Diffstat (limited to 'gtk/mtp3_stat.c')
-rw-r--r--gtk/mtp3_stat.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gtk/mtp3_stat.c b/gtk/mtp3_stat.c
index 95e388fb3c..54faa34dd2 100644
--- a/gtk/mtp3_stat.c
+++ b/gtk/mtp3_stat.c
@@ -189,10 +189,10 @@ mtp3_stat_draw(
{
row_offset = i * MTP3_NUM_SI_CODE;
- mtp3_addr_to_str_buf((guint8 *) &(*stat_p)[i].addr_opc, str, 256);
+ mtp3_addr_to_str_buf(&(*stat_p)[i].addr_opc, str, 256);
dlg.entries[0] = g_strdup(str);
- mtp3_addr_to_str_buf((guint8 *) &(*stat_p)[i].addr_dpc, str, 256);
+ mtp3_addr_to_str_buf(&(*stat_p)[i].addr_dpc, str, 256);
dlg.entries[1] = g_strdup(str);
for (j=0; j < MTP3_NUM_SI_CODE; j++)