src/ucx/string.h

changeset 328
2bf1da3c411e
parent 325
a3e63cb21e20
child 363
8175ba2b3bcb
     1.1 --- a/src/ucx/string.h	Thu Jun 21 16:00:37 2018 +0200
     1.2 +++ b/src/ucx/string.h	Thu Jun 21 16:10:19 2018 +0200
     1.3 @@ -124,7 +124,7 @@
     1.4  inline scstr_t s2scstr(sstr_t s) {
     1.5      scstr_t c;
     1.6      c.ptr = s.ptr;
     1.7 -    c.length = s.ptr;
     1.8 +    c.length = s.length;
     1.9      return c;
    1.10  }
    1.11  

mercurial