aboutsummaryrefslogtreecommitdiffstats
path: root/epan/column-utils.c
diff options
context:
space:
mode:
authorStephen Fisher <steve@stephen-fisher.com>2007-03-23 22:49:23 +0000
committerStephen Fisher <steve@stephen-fisher.com>2007-03-23 22:49:23 +0000
commit2896811274e430759305c7f25889cb0214213409 (patch)
tree30e2ec739ccffe6f19049153950e1d31f6604f66 /epan/column-utils.c
parent3288a39db202082ceb1120367d017792323fdecf (diff)
Fix about 150 warnings new to gcc 4.0 in the error on warning directories.
Comment out -Werror in plugins/asn1/ until warnings can be fixed. svn path=/trunk/; revision=21158
Diffstat (limited to 'epan/column-utils.c')
-rw-r--r--epan/column-utils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/epan/column-utils.c b/epan/column-utils.c
index 2793119609..570472b51a 100644
--- a/epan/column-utils.c
+++ b/epan/column-utils.c
@@ -930,7 +930,7 @@ col_set_addr(packet_info *pinfo, int col, address *addr, gboolean is_res,
/* XXX - should be done in "address_to_str_buf()", but that routine
doesn't know COL_MAX_LEN; it should be changed to take the
maximum length as an argument. */
- strncpy(pinfo->cinfo->col_buf[col], addr->data, COL_MAX_LEN);
+ strncpy(pinfo->cinfo->col_buf[col], (gchar*)addr->data, COL_MAX_LEN);
pinfo->cinfo->col_buf[col][COL_MAX_LEN - 1] = '\0';
break;