From b677a0c3950b8294ba6458e682a885351273ac08 Mon Sep 17 00:00:00 2001 From: Tyge Løvset Date: Tue, 31 Jan 2023 18:55:08 +0100 Subject: Converted all containers but the maps and examples to signed sizes and indices. --- misc/examples/sview_split.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'misc/examples/sview_split.c') diff --git a/misc/examples/sview_split.c b/misc/examples/sview_split.c index 5658924e..2d4b5324 100644 --- a/misc/examples/sview_split.c +++ b/misc/examples/sview_split.c @@ -6,7 +6,7 @@ int main() { // No memory allocations or string length calculations! const csview date = c_SV("2021/03/12"); - size_t pos = 0; + intptr_t pos = 0; const csview year = csview_token(date, "/", &pos); const csview month = csview_token(date, "/", &pos); const csview day = csview_token(date, "/", &pos); -- cgit v1.2.3