Skip to content

Commit

Permalink
Merge pull request #1557 from beru/x64_fix_warning_CheckEucjpChar
Browse files Browse the repository at this point in the history
CheckEucjpChar 関数の第2引数の型を int から size_t に変更
  • Loading branch information
beru authored Feb 28, 2021
2 parents af8d091 + 30655cd commit 32cdaf0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion sakura_core/charset/codechecker.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -199,7 +199,7 @@ int CheckSjisChar( const char* pS, const size_t nLen, ECharSet *peCharset )
@date 2006.09.23 EUCJP 半角カタカナ判別が間違っていたのを修正.genta
*/
int CheckEucjpChar( const char* pS, const int nLen, ECharSet *peCharset )
int CheckEucjpChar( const char* pS, const size_t nLen, ECharSet *peCharset )
{
unsigned char uc;

Expand Down
2 changes: 1 addition & 1 deletion sakura_core/charset/codechecker.h
Original file line number Diff line number Diff line change
Expand Up @@ -409,7 +409,7 @@ inline int GuessEucjpCharsz( const char uc_ ){
*/
/* --- ローカル文字コードチェック */
int CheckSjisChar( const char*, const size_t, ECharSet* );
int CheckEucjpChar( const char*, const int, ECharSet* );
int CheckEucjpChar( const char*, const size_t, ECharSet* );
int DetectJisEscseq( const char*, const size_t, EMyJisEscseq* ); // JIS エスケープシーケンス検出器
int _CheckJisAnyPart( const char*, const int, const char **ppNextChar, EMyJisEscseq *peNextEsc, int *pnErrorCount, const int nType );
enum EJisChecker{
Expand Down

0 comments on commit 32cdaf0

Please sign in to comment.