Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
TASTE
uPython-mirror
Commits
00c904b4
Commit
00c904b4
authored
Jun 14, 2014
by
Paul Sokolovsky
Browse files
objstrunicode: Signedness issues.
parent
1044c3df
Changes
1
Hide whitespace changes
Inline
Side-by-side
py/objstrunicode.c
View file @
00c904b4
...
...
@@ -63,7 +63,7 @@ STATIC void uni_print_quoted(void (*print)(void *env, const char *fmt, ...), voi
quote_char
=
'"'
;
}
print
(
env
,
"%c"
,
quote_char
);
const
char
*
s
=
(
const
char
*
)
str_data
,
*
top
=
(
const
char
*
)
str_data
+
str_len
;
const
byte
*
s
=
str_data
,
*
top
=
str_data
+
str_len
;
while
(
s
<
top
)
{
unichar
ch
;
ch
=
utf8_get_char
(
s
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment