[libpng16] More cosmetic changes
diff --git a/pngget.c b/pngget.c
index debcfad..ed00f8b 100644
--- a/pngget.c
+++ b/pngget.c
@@ -182,7 +182,8 @@
    info_ptr)
 {
 #ifdef PNG_READ_pHYs_SUPPORTED
-   if (png_ptr != NULL && info_ptr != NULL && (info_ptr->valid & PNG_INFO_pHYs))
+   if (png_ptr != NULL && info_ptr != NULL &&
+       (info_ptr->valid & PNG_INFO_pHYs) != 0)
    {
       png_debug1(1, "in %s retrieval function", "png_get_aspect_ratio");