mirror of
https://github.com/reactos/reactos.git
synced 2025-08-06 13:13:00 +00:00
[APPLICATIONS] Fix 64 bit issues
This commit is contained in:
parent
807331436e
commit
6f13066647
16 changed files with 31 additions and 28 deletions
|
@ -6,10 +6,10 @@ class CRichEdit :
|
|||
{
|
||||
HMODULE m_LoadedLibrary;
|
||||
|
||||
VOID GenericInsertText(LPCWSTR lpszText, LONG InsertedTextLen, DWORD dwEffects)
|
||||
VOID GenericInsertText(LPCWSTR lpszText, SIZE_T InsertedTextLen, DWORD dwEffects)
|
||||
{
|
||||
SETTEXTEX SetText;
|
||||
LONG Len = GetTextLen();
|
||||
SIZE_T Len = GetTextLen();
|
||||
|
||||
if (InsertedTextLen)
|
||||
{
|
||||
|
@ -34,7 +34,7 @@ class CRichEdit :
|
|||
public:
|
||||
CRichEdit() : CWindow(), m_LoadedLibrary(NULL) {}
|
||||
|
||||
VOID SetRangeFormatting(LONG Start, LONG End, DWORD dwEffects)
|
||||
VOID SetRangeFormatting(SIZE_T Start, SIZE_T End, DWORD dwEffects)
|
||||
{
|
||||
CHARFORMAT2W CharFormat;
|
||||
|
||||
|
|
|
@ -47,7 +47,7 @@ public:
|
|||
|
||||
virtual INT OnCompareItems(T * p1, T * p2)
|
||||
{
|
||||
INT t = (reinterpret_cast<INT>(p2) - reinterpret_cast<INT>(p1));
|
||||
INT_PTR t = (reinterpret_cast<INT_PTR>(p2) - reinterpret_cast<INT_PTR>(p1));
|
||||
if (t > 0)
|
||||
return 1;
|
||||
if (t < 0)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue