X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=index%2Flockutil.c;h=123f7e6f4f38c8c8cf41e75e6d5d93be3702af23;hb=b9ba556f29428d79db2a874b1a33504290125216;hp=431cb9c748b5b11ab4b6a15d7a6d9505c5febb0f;hpb=3c5f6226f97612c0d6ac40591f600587c5ffa858;p=idzebra-moved-to-github.git diff --git a/index/lockutil.c b/index/lockutil.c index 431cb9c..123f7e6 100644 --- a/index/lockutil.c +++ b/index/lockutil.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: lockutil.c,v $ - * Revision 1.11 1999-02-02 14:50:59 adam + * Revision 1.12 1999-05-26 07:49:13 adam + * C++ compilation. + * + * Revision 1.11 1999/02/02 14:50:59 adam * Updated WIN32 code specific sections. Changed header. * * Revision 1.10 1997/09/29 09:08:36 adam @@ -65,7 +68,7 @@ struct zebra_lock_info { ZebraLockHandle zebra_lock_create (const char *name, int excl_flag) { - ZebraLockHandle h = xmalloc (sizeof(*h)); + ZebraLockHandle h = (ZebraLockHandle) xmalloc (sizeof(*h)); h->excl_flag = excl_flag; h->fd = -1; #ifdef WIN32