diff options
author | Pierre Ossman <ossman@cendio.se> | 2015-09-29 15:43:28 +0200 |
---|---|---|
committer | Pierre Ossman <ossman@cendio.se> | 2015-09-29 15:43:28 +0200 |
commit | 063df03295d8b1477a292b4415e7d90a68c477d0 (patch) | |
tree | 399338f72c6d1dd8f2b755557abc696bd6367ec0 /common/rdr/MemInStream.h | |
parent | 023df7effb247900c2c0748ce494f06dad00f0c3 (diff) | |
download | tigervnc-063df03295d8b1477a292b4415e7d90a68c477d0.tar.gz tigervnc-063df03295d8b1477a292b4415e7d90a68c477d0.zip |
Avoid dropping const qualifier needlessly
Diffstat (limited to 'common/rdr/MemInStream.h')
-rw-r--r-- | common/rdr/MemInStream.h | 2 |
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; } |