X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=index%2Flockutil.c;h=123f7e6f4f38c8c8cf41e75e6d5d93be3702af23;hp=431cb9c748b5b11ab4b6a15d7a6d9505c5febb0f;hb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;hpb=084ad8d210469872bda11c201267a361ca295435;ds=sidebyside 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