From 6794c3037b26a4687224606df8f3ace04b3f98fe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Branimir=20Karad=C5=BEi=C4=87?= Date: Mon, 31 Oct 2016 17:28:24 -0700 Subject: [PATCH] Cleanup. --- include/bx/string.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/include/bx/string.h b/include/bx/string.h index ea21ff3..5913043 100644 --- a/include/bx/string.h +++ b/include/bx/string.h @@ -550,12 +550,12 @@ namespace bx return *this; } - StringView(const char* _ptr, uint32_t _len = UINT32_MAX) + StringView(const char* _ptr, uint32_t _len = UINT16_MAX) { set(_ptr, _len); } - void set(const char* _ptr, uint32_t _len = UINT32_MAX) + void set(const char* _ptr, uint32_t _len = UINT16_MAX) { clear();