diff --git a/ext/shadow/shadow.c b/ext/shadow/shadow.c index 63fdd18..b73d632 100644 --- a/ext/shadow/shadow.c +++ b/ext/shadow/shadow.c @@ -266,10 +266,10 @@ Init_shadow() rb_sPasswdEntry = rb_struct_define("PasswdEntry", "sp_namp","sp_pwdp","sp_lstchg", "sp_min","sp_max","sp_warn", - "sp_inact","sp_expire","sp_flag",0); + "sp_inact","sp_expire","sp_flag",NULL); rb_sGroupEntry = rb_struct_define("GroupEntry", "sg_name","sg_passwd", - "sg_adm","sg_mem",0); + "sg_adm","sg_mem",NULL); rb_mShadow = rb_define_module("Shadow"); rb_eFileLock = rb_define_class_under(rb_mShadow,"FileLock",rb_eException);