diff options
author | jsorg71 <jsorg71> | 2005-03-25 22:33:56 +0000 |
---|---|---|
committer | jsorg71 <jsorg71> | 2005-03-25 22:33:56 +0000 |
commit | 66956f4624b0b8737fc67b66d8f93146268af4e4 (patch) | |
tree | 43eaaf660b9ba5f2edefb37169b848605c822bae /xrdp/xrdp_file.c | |
parent | 06f176ac94da4e30f6273bab3f5b73c717084ef5 (diff) | |
download | xrdp-proprietary-66956f4624b0b8737fc67b66d8f93146268af4e4.tar.gz xrdp-proprietary-66956f4624b0b8737fc67b66d8f93146268af4e4.zip |
some ints should be long
Diffstat (limited to 'xrdp/xrdp_file.c')
-rw-r--r-- | xrdp/xrdp_file.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xrdp/xrdp_file.c b/xrdp/xrdp_file.c index e3c1a7d9..c0e44f1a 100644 --- a/xrdp/xrdp_file.c +++ b/xrdp/xrdp_file.c @@ -51,7 +51,7 @@ int xrdp_file_read_sections(int fd, struct xrdp_list* names) in_it = 1; else if (c == ']') { - xrdp_list_add_item(names, (int)g_strdup(text)); + xrdp_list_add_item(names, (long)g_strdup(text)); in_it = 0; in_it_index = 0; g_memset(text, 0, 256); @@ -179,8 +179,8 @@ int xrdp_file_read_section(int fd, char* section, struct xrdp_list* names, while (xrdp_file_read_line(s, text) == 0) { xrdp_file_split_name_value(text, name, value); - xrdp_list_add_item(names, (int)g_strdup(name)); - xrdp_list_add_item(values, (int)g_strdup(value)); + xrdp_list_add_item(names, (long)g_strdup(name)); + xrdp_list_add_item(values, (long)g_strdup(value)); } free_stream(s); return 0; |