aboutsummaryrefslogtreecommitdiff
path: root/mousmain.c
diff options
context:
space:
mode:
Diffstat (limited to 'mousmain.c')
-rw-r--r--mousmain.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mousmain.c b/mousmain.c
index 8692048..c6d2e96 100644
--- a/mousmain.c
+++ b/mousmain.c
@@ -274,8 +274,8 @@ static int configure_driver(LPTSRDATA data)
static int move_driver_to_umb(LPTSRDATA __far * data)
{
- segment_t cur_seg = FP_SEG(data);
- segment_t umb_seg = reallocate_to_umb(&cur_seg, get_resident_size() + DOS_PSP_SIZE);
+ segment_t cur_seg = FP_SEG(*data);
+ segment_t umb_seg = reallocate_to_umb(cur_seg, get_resident_size() + DOS_PSP_SIZE);
if (umb_seg) {
// Update the data pointer with the new segment