Merge pull request #380 from zeux/fix-exrwarn

Fix gcc's calloc-transposed-args warning
diff --git a/encoder/basisu_comp.cpp b/encoder/basisu_comp.cpp
index f16e75b..cfd5c2b 100644
--- a/encoder/basisu_comp.cpp
+++ b/encoder/basisu_comp.cpp
@@ -374,7 +374,8 @@
 		if (m_params.m_hdr)
 		{
 			// UASTC HDR
-			printf("Mode: UASTC HDR Level %u\n", m_params.m_uastc_hdr_options.m_level);
+			if (m_params.m_status_output)
+				printf("Mode: UASTC HDR Level %u\n", m_params.m_uastc_hdr_options.m_level);
 
 			error_code ec = encode_slices_to_uastc_hdr();
 			if (ec != cECSuccess)
@@ -383,7 +384,8 @@
 		else if (m_params.m_uastc)
 		{
 			// UASTC
-			printf("Mode: UASTC LDR Level %u\n", m_params.m_pack_uastc_flags & cPackUASTCLevelMask);
+			if (m_params.m_status_output)
+				printf("Mode: UASTC LDR Level %u\n", m_params.m_pack_uastc_flags & cPackUASTCLevelMask);
 
 			error_code ec = encode_slices_to_uastc();
 			if (ec != cECSuccess)
@@ -392,7 +394,8 @@
 		else
 		{
 			// ETC1S
-			printf("Mode: ETC1S Quality %i, Level %i\n", m_params.m_quality_level, (int)m_params.m_compression_level);
+			if (m_params.m_status_output)
+				printf("Mode: ETC1S Quality %i, Level %i\n", m_params.m_quality_level, (int)m_params.m_compression_level);
 			
 			if (!process_frontend())
 				return cECFailedFrontEnd;
@@ -2560,7 +2563,7 @@
 				return false;
 			}
 
-			//if (m_params.m_status_output)
+			if (m_params.m_status_output)
 			{
 				printf("Wrote output .basis/.ktx2 file \"%s\"\n", output_filename.c_str());
 			}