summaryrefslogtreecommitdiff
path: root/Dbx_mmap_SA/Dbtool/progress.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Dbx_mmap_SA/Dbtool/progress.cpp')
-rw-r--r--Dbx_mmap_SA/Dbtool/progress.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/Dbx_mmap_SA/Dbtool/progress.cpp b/Dbx_mmap_SA/Dbtool/progress.cpp
index 08b3fd8..4b7d797 100644
--- a/Dbx_mmap_SA/Dbtool/progress.cpp
+++ b/Dbx_mmap_SA/Dbtool/progress.cpp
@@ -64,9 +64,9 @@ void ProcessingDone(void)
SendMessage(hdlgProgress,WM_PROCESSINGDONE,0,0);
}
-BOOL CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam)
+INT_PTR CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam)
{
- BOOL bReturn;
+ INT_PTR bReturn;
static int fontHeight,listWidth;
static int manualAbort;
static HFONT hBoldFont = NULL;
@@ -140,7 +140,7 @@ BOOL CALLBACK ProgressDlgProc(HWND hdlg,UINT message,WPARAM wParam,LPARAM lParam
break;
}
if(bold) hoFont=(HFONT)SelectObject(dis->hDC,hBoldFont);
- ExtTextOut(dis->hDC,dis->rcItem.left,dis->rcItem.top,ETO_CLIPPED|ETO_OPAQUE,&dis->rcItem,str, (int)_tcslen(str),NULL);
+ ExtTextOut(dis->hDC,dis->rcItem.left,dis->rcItem.top,ETO_CLIPPED|ETO_OPAQUE,&dis->rcItem,str,(UINT)_tcslen(str),NULL);
if(bold) SelectObject(dis->hDC,hoFont);
return TRUE;
}