summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--extensions/source/scanner/twain32shim.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/extensions/source/scanner/twain32shim.cxx b/extensions/source/scanner/twain32shim.cxx
index 07ac599d584f..49d6787eb69f 100644
--- a/extensions/source/scanner/twain32shim.cxx
+++ b/extensions/source/scanner/twain32shim.cxx
@@ -531,10 +531,10 @@ void ImpTwain::ImplRequestHdl(WPARAM nRequest)
Destroy();
break;
case TWAIN_REQUEST_SELECTSOURCE:
- NotifyParent(TWAIN_EVENT_REQUESTRESULT, SelectSource());
+ NotifyParent(TWAIN_EVENT_REQUESTRESULT, LPARAM(SelectSource()));
break;
case TWAIN_REQUEST_INITXFER:
- NotifyParent(TWAIN_EVENT_REQUESTRESULT, InitXfer());
+ NotifyParent(TWAIN_EVENT_REQUESTRESULT, LPARAM(InitXfer()));
break;
}
}