diff options
| author | Tyge Løvset <[email protected]> | 2023-02-04 23:35:56 +0100 |
|---|---|---|
| committer | GitHub <[email protected]> | 2023-02-04 23:35:56 +0100 |
| commit | adc47cefc2976768c3f0b773bd26bfd1062e8a53 (patch) | |
| tree | 4923f88afb0d091d5d39ae03d65a4998a0517652 /misc/examples/sview_split.c | |
| parent | 0c4c4f8bba17562735b67b2923cd23c773aa53a7 (diff) | |
| parent | d2ff84c53aa9bd3857fdf22dcf7cd9398a4780be (diff) | |
| download | STC-modified-adc47cefc2976768c3f0b773bd26bfd1062e8a53.tar.gz STC-modified-adc47cefc2976768c3f0b773bd26bfd1062e8a53.zip | |
Merge pull request #46 from tylov/newinit
Version 4.1 RC2: signed sizes and indices, cspan with numpy slicing.
Diffstat (limited to 'misc/examples/sview_split.c')
| -rw-r--r-- | misc/examples/sview_split.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |
