Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
c4d6bb36
Commit
c4d6bb36
authored
Jul 06, 2019
by
rswindell
Browse files
Address GCC warning.
parent
f29cccef
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/encode/utf8.c
src/encode/utf8.c
+1
-1
No files found.
src/encode/utf8.c
View file @
c4d6bb36
...
...
@@ -166,7 +166,7 @@ int utf8_getc(const char *str, size_t len, uint32_t* val)
int
ret
;
if
(
len
<=
0
)
return
0
;
p
=
str
;
p
=
(
const
unsigned
char
*
)
str
;
/* Check syntax and work out the encoded value (if correct) */
if
((
*
p
&
0x80
)
==
0
)
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a 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