summaryrefslogtreecommitdiff
path: root/shell/source/win32/shlxthandler
diff options
context:
space:
mode:
authorFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-16 17:13:14 +0200
committerFridrich Štrba <fridrich.strba@bluewin.ch>2013-07-16 17:14:23 +0200
commit2a4c55f6d46aec5164ec2ec189ee39cf71c9308c (patch)
tree56add29addedc860b94f5a7cb163fce3216d8a9c /shell/source/win32/shlxthandler
parent9a9bf62c4cb7e1238bd383e1e4dd0582b26846f1 (diff)
bnc#829017 fix issue with negative seeks in win32 shell extension
Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b
Diffstat (limited to 'shell/source/win32/shlxthandler')
-rw-r--r--shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx b/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx
index 4f78900d9dac..3b77d285d34e 100644
--- a/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx
+++ b/shell/source/win32/shlxthandler/ooofilt/stream_helper.cxx
@@ -74,7 +74,7 @@ long BufferStream::stell ()
return -1;
}
-long BufferStream::sseek (unsigned long offset, int origin)
+long BufferStream::sseek (long offset, int origin)
{
HRESULT hr;
LARGE_INTEGER Move;
@@ -129,7 +129,7 @@ long FileStream::stell ()
return -1L;
}
-long FileStream::sseek (unsigned long offset, int origin)
+long FileStream::sseek (long offset, int origin)
{
if (file)
return fseek(file, offset, origin);