diff options
author | jsorg71 <jsorg71> | 2007-10-27 07:02:28 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2007-10-27 07:02:28 +0000 |
commit | d0c70a89b25b5b1bcddf51db3d7af3b13dd753c8 (patch) | |
tree | 8b3517fac097232385519ba70fd521be6f292f2a /common | |
parent | d3fa8fd6f6cefaf61898af30655124b921602318 (diff) | |
download | xrdp-proprietary-d0c70a89b25b5b1bcddf51db3d7af3b13dd753c8.tar.gz xrdp-proprietary-d0c70a89b25b5b1bcddf51db3d7af3b13dd753c8.zip |
tbus
Diffstat (limited to 'common')
-rw-r--r-- | common/file.c | 6 |
1 files 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); |