X-Git-Url: http://git.indexdata.com/?a=blobdiff_plain;f=odr%2Fodr_int.c;h=8cfab5fe6ebda2e7995f86f674c97e108c0662fc;hb=84b60b9a8d2052540541726390fde416c59e1f40;hp=cad4add8d772264450cf297b2dae96833ff061cd;hpb=63cafe41a93427118959a74201b3e331169a71d9;p=yaz-moved-to-github.git diff --git a/odr/odr_int.c b/odr/odr_int.c index cad4add..8cfab5f 100644 --- a/odr/odr_int.c +++ b/odr/odr_int.c @@ -4,7 +4,10 @@ * Sebastian Hammer, Adam Dickmeiss * * $Log: odr_int.c,v $ - * Revision 1.10 1995-09-29 17:12:24 quinn + * Revision 1.11 1998-02-11 11:53:34 adam + * Changed code so that it compiles as C++. + * + * Revision 1.10 1995/09/29 17:12:24 quinn * Smallish * * Revision 1.9 1995/09/29 17:01:50 quinn @@ -69,6 +72,6 @@ int odr_integer(ODR o, int **p, int opt) return 0; } if (o->direction == ODR_DECODE) - *p = odr_malloc(o, sizeof(int)); + *p = (int *)odr_malloc(o, sizeof(int)); return ber_integer(o, *p); }