summaryrefslogtreecommitdiff
path: root/ext/sdbm
diff options
context:
space:
mode:
Diffstat (limited to 'ext/sdbm')
-rw-r--r--ext/sdbm/init.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/ext/sdbm/init.c b/ext/sdbm/init.c
index 6a02e1e..7ba59c4 100644
--- a/ext/sdbm/init.c
+++ b/ext/sdbm/init.c
@@ -29,13 +29,13 @@ closed_sdbm()
}
#define GetDBM(obj, dbmp) {\
- Data_Get_Struct(obj, struct dbmdata, dbmp);\
- if (dbmp == 0) closed_sdbm();\
- if (dbmp->di_dbm == 0) closed_sdbm();\
+ Data_Get_Struct((obj), struct dbmdata, (dbmp));\
+ if ((dbmp) == 0) closed_sdbm();\
+ if ((dbmp)->di_dbm == 0) closed_sdbm();\
}
#define GetDBM2(obj, data, dbm) {\
- GetDBM(obj, data);\
+ GetDBM((obj), (data));\
(dbm) = dbmp->di_dbm;\
}