From d0c70a89b25b5b1bcddf51db3d7af3b13dd753c8 Mon Sep 17 00:00:00 2001 From: jsorg71 Date: Sat, 27 Oct 2007 07:02:28 +0000 Subject: [PATCH] tbus --- common/file.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/common/file.c b/common/file.c index f3fa88f1..6fd3e75d 100644 --- a/common/file.c +++ b/common/file.c @@ -65,7 +65,7 @@ file_read_sections(int fd, struct list* names) } else if (c == ']') { - list_add_item(names, (long)g_strdup(text)); + list_add_item(names, (tbus)g_strdup(text)); in_it = 0; in_it_index = 0; g_memset(text, 0, 256); @@ -238,8 +238,8 @@ file_read_section(int fd, const char* section, struct list* names, if (g_strlen(text) > 0) { file_split_name_value(text, name, value); - list_add_item(names, (long)g_strdup(name)); - list_add_item(values, (long)g_strdup(value)); + list_add_item(names, (tbus)g_strdup(name)); + list_add_item(values, (tbus)g_strdup(value)); } } free_stream(s);