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_bitmap.c | |
| parent | 06f176ac94da4e30f6273bab3f5b73c717084ef5 (diff) | |
| download | xrdp-proprietary-66956f4624b0b8737fc67b66d8f93146268af4e4.tar.gz xrdp-proprietary-66956f4624b0b8737fc67b66d8f93146268af4e4.zip | |
some ints should be long
Diffstat (limited to 'xrdp/xrdp_bitmap.c')
| -rw-r--r-- | xrdp/xrdp_bitmap.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/xrdp/xrdp_bitmap.c b/xrdp/xrdp_bitmap.c index 27b0e356..22f661f6 100644 --- a/xrdp/xrdp_bitmap.c +++ b/xrdp/xrdp_bitmap.c @@ -188,7 +188,7 @@ void xrdp_bitmap_delete(struct xrdp_bitmap* self) } if (self->parent != 0) { - i = xrdp_list_index_of(self->parent->child_list, (int)self); + i = xrdp_list_index_of(self->parent->child_list, (long)self); if (i >= 0) { xrdp_list_remove_item(self->parent->child_list, i); @@ -1103,7 +1103,7 @@ int xrdp_bitmap_invalidate(struct xrdp_bitmap* self, struct xrdp_rect* rect) } /* notify */ if (self->notify != 0) - self->notify(self, self, WM_PAINT, (int)painter, 0); /* 3 */ + self->notify(self, self, WM_PAINT, (long)painter, 0); /* 3 */ /* draw any child windows in the area */ for (i = 0; i < self->child_list->count; i++) { @@ -1154,7 +1154,7 @@ int xrdp_bitmap_def_proc(struct xrdp_bitmap* self, int msg, shift = self->wm->keys[42] || self->wm->keys[54]; i = -1; if (self->child_list != 0) - i = xrdp_list_index_of(self->child_list, (int)self->focused_control); + i = xrdp_list_index_of(self->child_list, (long)self->focused_control); if (shift) { i--; |
