Skip to content

Commit b365cb6

Browse files
author
Hana Dusíková
committed
typo
1 parent bf2ee65 commit b365cb6

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

include/ctre/first.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -293,7 +293,7 @@ template <auto A, auto B, typename CB> constexpr int64_t negative_helper(ctre::c
293293
}
294294

295295
template <auto Head, auto... Tail, typename CB> constexpr int64_t negative_helper(ctre::enumeration<Head, Tail...>, CB & cb, int64_t start) {
296-
size_t nstart = negative_helper(ctre::character<Head>{}, cb, start);
296+
int64_t nstart = negative_helper(ctre::character<Head>{}, cb, start);
297297
return negative_helper(ctre::enumeration<Tail...>{}, cb, nstart);
298298
}
299299

single-header/ctre.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2823,7 +2823,7 @@ template <auto A, auto B, typename CB> constexpr int64_t negative_helper(ctre::c
28232823
}
28242824

28252825
template <auto Head, auto... Tail, typename CB> constexpr int64_t negative_helper(ctre::enumeration<Head, Tail...>, CB & cb, int64_t start) {
2826-
size_t nstart = negative_helper(ctre::character<Head>{}, cb, start);
2826+
int64_t nstart = negative_helper(ctre::character<Head>{}, cb, start);
28272827
return negative_helper(ctre::enumeration<Tail...>{}, cb, nstart);
28282828
}
28292829

0 commit comments

Comments
 (0)