From: Alan Cox Date: Sun, 2 Nov 2014 18:37:12 +0000 (+0000) Subject: swap: Fix silly bug X-Git-Url: https://git.ndcode.org/public/gitweb.cgi?a=commitdiff_plain;h=18c0fe929ea2e695c9f857226f259e0015b253ca;p=FUZIX.git swap: Fix silly bug --- diff --git a/Kernel/swap.c b/Kernel/swap.c index cfb04f43..dfc345c7 100644 --- a/Kernel/swap.c +++ b/Kernel/swap.c @@ -81,7 +81,7 @@ int swapout(ptptr p) /* Write to disk if the platform asks us */ if (ptr) swapwrite(SWAPDEV, blk, UDATA_SWAPSIZE, - (char *) p); + ptr); #endif /* Write the app (and possibly the uarea etc..) to disk */ swapwrite(SWAPDEV, blk + UDATA_BLOCKS, SWAPTOP - SWAPBASE,