Added a few casts from zint to double/int where appropriate.
[idzebra-moved-to-github.git] / include / zebrautl.h
index 3393468..ecc5d42 100644 (file)
@@ -1,4 +1,4 @@
-/* $Id: zebrautl.h,v 1.13 2005-01-15 19:38:24 adam Exp $
+/* $Id: zebrautl.h,v 1.14 2005-03-08 14:02:08 adam Exp $
    Copyright (C) 1995-2005
    Index Data ApS
 
@@ -37,4 +37,7 @@ YAZ_BEGIN_CDECL
 zint atoi_zn (const char *buf, zint len);
 YAZ_END_CDECL
 
+#define CAST_ZINT_TO_INT(x) (int)(x)
+#define CAST_ZINT_TO_DOUBLE(x) (double)(x)
+
 #endif