aboutsummaryrefslogtreecommitdiffstats
path: root/wiretap/k12.c
diff options
context:
space:
mode:
authorGerald Combs <gerald@wireshark.org>2009-03-09 21:18:55 +0000
committerGerald Combs <gerald@wireshark.org>2009-03-09 21:18:55 +0000
commitcc739fecb0300906438b19f874e615ead80e419b (patch)
tree8858970c6086a4fa93b4c9f804d5b46ef79df9c5 /wiretap/k12.c
parente4892bb6c305211bf5b3fc1ba56a87981368eff8 (diff)
P64 fixes.
svn path=/trunk/; revision=27683
Diffstat (limited to 'wiretap/k12.c')
-rw-r--r--wiretap/k12.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/wiretap/k12.c b/wiretap/k12.c
index 2c28835673..5c735c5fef 100644
--- a/wiretap/k12.c
+++ b/wiretap/k12.c
@@ -832,8 +832,8 @@ static void k12_dump_src_setting(gpointer k _U_, gpointer v, gpointer p) {
}
obj.record.unk16_1 = g_htons(0x0000);
- obj.record.name_len = strlen(src_desc->input_name) + 1;
- obj.record.stack_len = strlen(src_desc->stack_file) + 1;
+ obj.record.name_len = (guint16) strlen(src_desc->input_name) + 1;
+ obj.record.stack_len = (guint16) strlen(src_desc->stack_file) + 1;
obj.record.extra.type = g_htonl(src_desc->input_type);