aboutsummaryrefslogtreecommitdiff
path: root/include/sqfs
diff options
context:
space:
mode:
Diffstat (limited to 'include/sqfs')
-rw-r--r--include/sqfs/predef.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/sqfs/predef.h b/include/sqfs/predef.h
index 0e81933..e0afac4 100644
--- a/include/sqfs/predef.h
+++ b/include/sqfs/predef.h
@@ -134,7 +134,7 @@ typedef struct sqfs_object_t {
*/
static SQFS_INLINE void sqfs_destroy(void *obj)
{
- ((sqfs_object_t *)obj)->destroy(obj);
+ ((sqfs_object_t *)obj)->destroy((sqfs_object_t *)obj);
}
/**
@@ -150,7 +150,7 @@ static SQFS_INLINE void sqfs_destroy(void *obj)
static SQFS_INLINE void *sqfs_copy(const void *obj)
{
if (((sqfs_object_t *)obj)->copy != NULL)
- return ((sqfs_object_t *)obj)->copy(obj);
+ return ((sqfs_object_t *)obj)->copy((sqfs_object_t *)obj);
return NULL;
}