hopefully avoid coverity complaining about a float vs int comparison
[imager.git] / imageri.h
index 2848bcf..14d1d23 100644 (file)
--- a/imageri.h
+++ b/imageri.h
@@ -143,4 +143,6 @@ typedef struct im_context_tag {
 
 #define DEF_BYTES_LIMIT 0x40000000
 
 
 #define DEF_BYTES_LIMIT 0x40000000
 
+#define im_size_t_max (~(size_t)0)
+
 #endif
 #endif