aboutsummaryrefslogtreecommitdiffstats
path: root/libfat/open.c
diff options
context:
space:
mode:
authorhpa <hpa>2004-12-15 20:29:17 +0000
committerhpa <hpa>2004-12-15 20:29:17 +0000
commit77cfe4bb9b00690ab3b87a105eed5c430f97bb18 (patch)
tree83568d4c451d7f11590aee0a6dcf74ee6c1b4a60 /libfat/open.c
parent701f75fe81968cf2dccbffbf2f09bf2b04ea4ad6 (diff)
downloadsyslinux-77cfe4bb9b00690ab3b87a105eed5c430f97bb18.tar.gz
syslinux-77cfe4bb9b00690ab3b87a105eed5c430f97bb18.tar.xz
syslinux-77cfe4bb9b00690ab3b87a105eed5c430f97bb18.zip
Make the CC_IS_OK hack work again.
Change the private pointer in libfat to an intptr_t; we actually use an integer most of the time so an intptr_t is more convenient.
Diffstat (limited to 'libfat/open.c')
-rw-r--r--libfat/open.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libfat/open.c b/libfat/open.c
index 835c336d..a66d21e7 100644
--- a/libfat/open.c
+++ b/libfat/open.c
@@ -23,8 +23,8 @@
#include "ulint.h"
struct libfat_filesystem *
-libfat_open(int (*readfunc)(void *, void *, size_t, libfat_sector_t),
- void *readptr)
+libfat_open(int (*readfunc)(intptr_t, void *, size_t, libfat_sector_t),
+ intptr_t readptr)
{
struct libfat_filesystem *fs = NULL;
struct fat_bootsect *bs;