Fixed check for bit depth.
diff --git a/coders/sun.c b/coders/sun.c
index 4158d4c..dc4204c 100644
--- a/coders/sun.c
+++ b/coders/sun.c
@@ -314,7 +314,7 @@
     if ((sun_info.maptype == RMT_NONE) && (sun_info.maplength != 0))
       ThrowReaderException(CorruptImageError,"ImproperImageHeader");
     if ((sun_info.depth != 1) && (sun_info.depth != 8) &&
-        (sun_info.depth != 16) && (sun_info.depth != 32))
+        (sun_info.depth != 24) && (sun_info.depth != 32))
       ThrowReaderException(CorruptImageError,"ImproperImageHeader");
     if ((sun_info.maptype != RMT_NONE) && (sun_info.maptype != RMT_EQUAL_RGB) &&
         (sun_info.maptype != RMT_RAW))