aboutsummaryrefslogtreecommitdiffstats
path: root/common/rdr/MemInStream.h
diff options
context:
space:
mode:
authorPierre Ossman <ossman@cendio.se>2015-09-29 15:43:28 +0200
committerPierre Ossman <ossman@cendio.se>2015-09-29 15:43:28 +0200
commit063df03295d8b1477a292b4415e7d90a68c477d0 (patch)
tree399338f72c6d1dd8f2b755557abc696bd6367ec0 /common/rdr/MemInStream.h
parent023df7effb247900c2c0748ce494f06dad00f0c3 (diff)
downloadtigervnc-063df03295d8b1477a292b4415e7d90a68c477d0.tar.gz
tigervnc-063df03295d8b1477a292b4415e7d90a68c477d0.zip
Avoid dropping const qualifier needlessly
Diffstat (limited to 'common/rdr/MemInStream.h')
-rw-r--r--common/rdr/MemInStream.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/rdr/MemInStream.h b/common/rdr/MemInStream.h
index 77ca3f3a..1a6a7982 100644
--- a/common/rdr/MemInStream.h
+++ b/common/rdr/MemInStream.h
@@ -45,7 +45,7 @@ namespace rdr {
virtual ~MemInStream() {
if (deleteWhenDone)
- delete [] (U8*)start;
+ delete [] start;
}
int pos() { return ptr - start; }