Skip to content

Commit 86e7e6b

Browse files
Treehugger RobotGerrit Code Review
authored andcommitted
Merge "Fix build on ToT Clang" into main
2 parents b7c7d8a + 7b1a8c9 commit 86e7e6b

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

vulkan/vkjson/vkjson.cc

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1169,7 +1169,7 @@ inline Json::Value ArrayToJsonValue(uint32_t count, const T* values) {
11691169
return array;
11701170
}
11711171

1172-
template <typename T, unsigned int N>
1172+
template <typename T, size_t N>
11731173
inline Json::Value ToJsonValue(const T (&value)[N]) {
11741174
return ArrayToJsonValue(N, value);
11751175
}
@@ -1293,7 +1293,7 @@ inline bool AsArray(Json::Value* json_value, uint32_t count, T* values) {
12931293
return true;
12941294
}
12951295

1296-
template <typename T, unsigned int N>
1296+
template <typename T, size_t N>
12971297
inline bool AsValue(Json::Value* json_value, T (*value)[N]) {
12981298
return AsArray(json_value, N, *value);
12991299
}

0 commit comments

Comments
 (0)