X-Git-Url: http://git.indexdata.com/?p=idzebra-moved-to-github.git;a=blobdiff_plain;f=dict%2Fopen.c;h=9597b86b26f7926176eae7117943d40003225cb2;hp=2a5d322906570a389ca9a0d5dd03777c5c5a9407;hb=ef696645cc3b7e0f4027008d1dc589c0f0f90c1f;hpb=084ad8d210469872bda11c201267a361ca295435 diff --git a/dict/open.c b/dict/open.c index 2a5d322..9597b86 100644 --- a/dict/open.c +++ b/dict/open.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: open.c,v $ - * Revision 1.15 1999-05-15 14:36:37 adam + * Revision 1.16 1999-05-26 07:49:13 adam + * C++ compilation. + * + * Revision 1.15 1999/05/15 14:36:37 adam * Updated dictionary. Implemented "compression" of dictionary. * * Revision 1.14 1999/03/09 13:07:06 adam @@ -68,7 +71,7 @@ Dict dict_open (BFiles bfs, const char *name, int cache, int rw, char resource_str[80]; int page_size; - dict = xmalloc (sizeof(*dict)); + dict = (Dict) xmalloc (sizeof(*dict)); if (cache < 5) cache = 5;