--- a/seamer_.c
+++ b/seamer_.c
@@ -263,7 +263,7 @@
 		(dst->height       != src->height)       ||
 	    (dst->dataSize     != src->dataSize)     ||
 		(dst->bitsPerPixel != src->bitsPerPixel) ||
-		(dst->bitsPerPixel != 32 && dst->bitsPerPixel != 64) 	||
+		(dst->bitsPerPixel != (BYTES_PER_CHANNEL*32)) 	||
 		(dst->data 		   == NULL)				 ||
 		(src->data         == NULL))
 	{