Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
rtlib: fix more warnings
  • Loading branch information
jayrm authored and countingpine committed Oct 1, 2018
1 parent f6cdf63 commit 0f92444
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/rtlib/utf_convfrom_wchar.c
Expand Up @@ -37,12 +37,15 @@ static void hUTF16ToUTF8( const FB_WCHAR *src, ssize_t chars, UTF_8 *dst, ssize_
case 4:
*--dst = ((c | UTF8_BYTEMARK) & UTF8_BYTEMASK);
c >>= 6;
/* fall through */
case 3:
*--dst = ((c | UTF8_BYTEMARK) & UTF8_BYTEMASK);
c >>= 6;
/* fall through */
case 2:
*--dst = ((c | UTF8_BYTEMARK) & UTF8_BYTEMASK);
c >>= 6;
/* fall through */
case 1:
*--dst = (c | __fb_utf8_bmarkTb[bytes]);
}
Expand Down

0 comments on commit 0f92444

Please sign in to comment.