Index: trunk/src/gfx/image.cc
===================================================================
--- trunk/src/gfx/image.cc	(revision 127)
+++ trunk/src/gfx/image.cc	(revision 128)
@@ -12,5 +12,5 @@
 	: m_size( size ), m_depth( depth ), m_data( nullptr )
 {
-	m_data = new uint8[ static_cast<uint16>( m_size.x * m_size.y ) * m_depth ];
+	m_data = new uint8[ static_cast<uint32>( m_size.x * m_size.y ) * m_depth ];
 }
 
Index: trunk/src/io/c_file_system.cc
===================================================================
--- trunk/src/io/c_file_system.cc	(revision 127)
+++ trunk/src/io/c_file_system.cc	(revision 128)
@@ -32,5 +32,5 @@
 stream* c_file_system::open( const char* fpath, const char* fmode /*= "rb" */ )
 {
-	NV_ASSERT( fpath != nullptr && fpath != "" && fmode != nullptr, "Bad parameters passed to open" );
+	NV_ASSERT( fpath != nullptr && fmode != nullptr, "Bad parameters passed to open" );
 	FILE* file = ::fopen( fpath, fmode );
 	if ( !file )
