summaryrefslogtreecommitdiff
path: root/shell/inc
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/inc
parent9a9bf62c4cb7e1238bd383e1e4dd0582b26846f1 (diff)
bnc#829017 fix issue with negative seeks in win32 shell extension
Change-Id: Ia8072f78ad43281e406377922f50f8de53194f1b
Diffstat (limited to 'shell/inc')
-rw-r--r--shell/inc/internal/stream_helper.hxx4
-rw-r--r--shell/inc/internal/types.hxx2
2 files changed, 3 insertions, 3 deletions
diff --git a/shell/inc/internal/stream_helper.hxx b/shell/inc/internal/stream_helper.hxx
index 77af98846630..a7a48ab37982 100644
--- a/shell/inc/internal/stream_helper.hxx
+++ b/shell/inc/internal/stream_helper.hxx
@@ -31,7 +31,7 @@ public:
~BufferStream();
unsigned long sread (unsigned char *vuf, unsigned long size);
long stell ();
- long sseek (unsigned long offset, int origin);
+ long sseek (long offset, int origin);
private:
IStream *stream;
};
@@ -43,7 +43,7 @@ public:
~FileStream();
unsigned long sread (unsigned char *buf, unsigned long size);
long stell ();
- long sseek (unsigned long offset, int origin);
+ long sseek (long offset, int origin);
private:
FILE *file;
};
diff --git a/shell/inc/internal/types.hxx b/shell/inc/internal/types.hxx
index 15a03ca2f9e7..8fc66d9e5d20 100644
--- a/shell/inc/internal/types.hxx
+++ b/shell/inc/internal/types.hxx
@@ -78,7 +78,7 @@ public:
virtual ~StreamInterface() {}
virtual unsigned long sread (unsigned char* vuf, unsigned long size) = 0;
virtual long stell () = 0;
- virtual long sseek (unsigned long offset, int origin) = 0;
+ virtual long sseek (long offset, int origin) = 0;
};
#endif