Kajetan Johannes Hammerle 3 هفته پیش
والد
کامیت
94f14acd54
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      include/core/utils/HashedString.hpp

+ 1 - 1
include/core/utils/HashedString.hpp

@@ -24,7 +24,7 @@ namespace Core {
     class HashedString {
         static_assert(N > 0, "length of hashed string must be positive");
         StringHash hash;
-        char data[N];
+        char data[static_cast<u32>(N)];
 
     public:
         HashedString() : hash() {