Skip to content

Commit

Permalink
Merge pull request #89 from m-tmatma/feature/fix-C4477-warning
Browse files Browse the repository at this point in the history
[x64対応] c4477 の警告を修正
  • Loading branch information
kobake authored Jun 11, 2018
2 parents 0159e92 + e1c0717 commit fb2a01f
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions sakura_core/_os/CClipboard.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -227,10 +227,10 @@ bool CClipboard::SetHtmlText(const CNativeW& cmemBUf)
size_t size = cmemUtf8.GetStringLength() + 134;
cmemHeader.AppendString("Version:0.9\r\n");
cmemHeader.AppendString("StartHTML:00000097\r\n");
sprintf( szFormat, "EndHTML:%08d\r\n", size + 36 );
sprintf( szFormat, "EndHTML:%08Id\r\n", size + 36 );
cmemHeader.AppendString(szFormat);
cmemHeader.AppendString("StartFragment:00000134\r\n");
sprintf( szFormat, "EndFragment:%08d\r\n", size );
sprintf( szFormat, "EndFragment:%08Id\r\n", size );
cmemHeader.AppendString(szFormat);
cmemHeader.AppendString("<html><body>\r\n<!--StartFragment -->\r\n");
CNativeA cmemFooter;
Expand Down
2 changes: 1 addition & 1 deletion sakura_core/util/shell.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -607,7 +607,7 @@ BOOL MyWinHelp(HWND hwndCaller, UINT uCommand, DWORD_PTR dwData)
dwData = 1; // 目次ページ

TCHAR buf[256];
_stprintf( buf, _T("http://sakura-editor.sourceforge.net/cgi-bin/hid2.cgi?%d"), dwData );
_stprintf( buf, _T("http://sakura-editor.sourceforge.net/cgi-bin/hid2.cgi?%Id"), dwData );
ShellExecute( ::GetActiveWindow(), NULL, buf, NULL, NULL, SW_SHOWNORMAL );
}

Expand Down

0 comments on commit fb2a01f

Please sign in to comment.