Skip to content
Snippets Groups Projects
Commit e79ad21a authored by Andreas Zwinkau's avatar Andreas Zwinkau Committed by Perttu Ahola
Browse files

Remove mbtowc warnings

As mbtowc(_, _, 1) reads at most one char, everything other than a
return value of 1 is an error. Since the input strings are static,
an assert protects against future changes.

Likewise, wctomb should currently never encounter a character, which
actually needs a multibyte representation.
parent 0b612539
No related branches found
No related tags found
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment