Skip to content

Commit 5a3e631

Browse files
authored
Merge pull request #2136 from gorogoro123/feature/fix_return_type_GetLengthByMode
GetLengthByMode() の戻り値の型変更
2 parents 83f51a3 + 85e77f8 commit 5a3e631

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sakura_core/_os/CClipboard.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -521,7 +521,7 @@ bool CClipboard::SetClipboardByFormat(const CStringRef& cstr, const wchar_t* pFo
521521
return true;
522522
}
523523

524-
static int GetLengthByMode(HGLOBAL hClipData, const BYTE* pData, int nMode, int nEndMode)
524+
static size_t GetLengthByMode(HGLOBAL hClipData, const BYTE* pData, int nMode, int nEndMode)
525525
{
526526
size_t nMemLength = ::GlobalSize(hClipData);
527527
nEndMode = GetEndModeByMode(nMode, nEndMode);

0 commit comments

Comments
 (0)