Changes in uspace/lib/bithenge/src/helenos/common.h [582a0b8:b7fd2a0] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/bithenge/src/helenos/common.h
r582a0b8 rb7fd2a0 64 64 } 65 65 66 static inline int string_iterator_next(string_iterator_t *i, wchar_t *out)66 static inline errno_t string_iterator_next(string_iterator_t *i, wchar_t *out) 67 67 { 68 68 *out = i->ch; … … 81 81 } 82 82 83 static inline int bithenge_parse_int(const char *start, bithenge_int_t *result)83 static inline errno_t bithenge_parse_int(const char *start, bithenge_int_t *result) 84 84 { 85 85 const char *real_start = *start == '-' ? start + 1 : start; 86 86 uint64_t val; 87 int rc = str_uint64_t(real_start, NULL, 10, false, &val);87 errno_t rc = str_uint64_t(real_start, NULL, 10, false, &val); 88 88 *result = val; 89 89 if (*start == '-')
Note:
See TracChangeset
for help on using the changeset viewer.