Branimir Karadžić 9 years ago
parent
commit
6794c3037b
1 changed files with 2 additions and 2 deletions
  1. 2 2
      include/bx/string.h

+ 2 - 2
include/bx/string.h

@@ -550,12 +550,12 @@ namespace bx
 			return *this;
 			return *this;
 		}
 		}
 
 
-		StringView(const char* _ptr, uint32_t _len = UINT32_MAX)
+		StringView(const char* _ptr, uint32_t _len = UINT16_MAX)
 		{
 		{
 			set(_ptr, _len);
 			set(_ptr, _len);
 		}
 		}
 
 
-		void set(const char* _ptr, uint32_t _len = UINT32_MAX)
+		void set(const char* _ptr, uint32_t _len = UINT16_MAX)
 		{
 		{
 			clear();
 			clear();