From 9e9b76a6a9fb4aef55f89d36525fae34b58290be Mon Sep 17 00:00:00 2001 From: Sebastian Lackner Date: Sat, 28 Feb 2015 00:06:27 +0100 Subject: [PATCH] shell32-Progress_Dialog: Remove useless cast. --- ...3-shell32-Implement-file-operation-progress-dialog.patch | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/patches/shell32-Progress_Dialog/0003-shell32-Implement-file-operation-progress-dialog.patch b/patches/shell32-Progress_Dialog/0003-shell32-Implement-file-operation-progress-dialog.patch index 93fe3568..561fb148 100644 --- a/patches/shell32-Progress_Dialog/0003-shell32-Implement-file-operation-progress-dialog.patch +++ b/patches/shell32-Progress_Dialog/0003-shell32-Implement-file-operation-progress-dialog.patch @@ -1,4 +1,4 @@ -From a6f9101ab518d9cf5a9ab34533ba1d684ee61d8b Mon Sep 17 00:00:00 2001 +From 725a496f1d8484b7392ef0f14cb13ddd18b1dca5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Michael=20M=C3=BCller?= Date: Fri, 27 Feb 2015 01:04:33 +0100 Subject: shell32: Implement file operation progress dialog. @@ -29,7 +29,7 @@ index 37acbe7..dd054fb 100644 IDS_RESTART_TITLE "Restart" IDS_RESTART_PROMPT "Do you want to simulate a Windows reboot?" diff --git a/dlls/shell32/shlfileop.c b/dlls/shell32/shlfileop.c -index ed8ff38..cef2246 100644 +index ed8ff38..0d50223 100644 --- a/dlls/shell32/shlfileop.c +++ b/dlls/shell32/shlfileop.c @@ -65,6 +65,10 @@ typedef struct @@ -301,7 +301,7 @@ index ed8ff38..cef2246 100644 + op->totalSize.QuadPart += filesize.QuadPart; + } + -+ if (GetTickCount() - *ticks > (DWORD) 500) ++ if (GetTickCount() - *ticks > 500) + { + if (op->progress != NULL) + op->bCancelled |= IProgressDialog_HasUserCancelled(op->progress);