summaryrefslogtreecommitdiffstats
path: root/xrdp/xrdp_region.c
diff options
context:
space:
mode:
authorjsorg71 <jsorg71>2005-03-25 22:33:56 +0000
committerjsorg71 <jsorg71>2005-03-25 22:33:56 +0000
commit66956f4624b0b8737fc67b66d8f93146268af4e4 (patch)
tree43eaaf660b9ba5f2edefb37169b848605c822bae /xrdp/xrdp_region.c
parent06f176ac94da4e30f6273bab3f5b73c717084ef5 (diff)
downloadxrdp-proprietary-66956f4624b0b8737fc67b66d8f93146268af4e4.tar.gz
xrdp-proprietary-66956f4624b0b8737fc67b66d8f93146268af4e4.zip
some ints should be long
Diffstat (limited to 'xrdp/xrdp_region.c')
-rw-r--r--xrdp/xrdp_region.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xrdp/xrdp_region.c b/xrdp/xrdp_region.c
index 12159523..e1d0a597 100644
--- a/xrdp/xrdp_region.c
+++ b/xrdp/xrdp_region.c
@@ -51,7 +51,7 @@ int xrdp_region_add_rect(struct xrdp_region* self, struct xrdp_rect* rect)
r = (struct xrdp_rect*)g_malloc(sizeof(struct xrdp_rect), 1);
*r = *rect;
- xrdp_list_add_item(self->rects, (int)r);
+ xrdp_list_add_item(self->rects, (long)r);
return 0;
}
@@ -66,7 +66,7 @@ int xrdp_region_insert_rect(struct xrdp_region* self, int i, int left,
r->top = top;
r->right = right;
r->bottom = bottom;
- xrdp_list_insert_item(self->rects, i, (int)r);
+ xrdp_list_insert_item(self->rects, i, (long)r);
return 0;
}