aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DIBSectionBuffer.cxx
diff options
context:
space:
mode:
authorPeter Åstrand <astrand@cendio.se>2008-12-10 10:29:06 +0000
committerPeter Åstrand <astrand@cendio.se>2008-12-10 10:29:06 +0000
commitee3f46adc9d24d5a1ab4c5eada9dbd8605651963 (patch)
tree33ec5c83a68b0441b50e221fa0c9dd52a47ef87d /win/rfb_win32/DIBSectionBuffer.cxx
parentdc30f8ea1bcfbdebbd28c25d8a5df60a8b912a23 (diff)
downloadtigervnc-ee3f46adc9d24d5a1ab4c5eada9dbd8605651963.tar.gz
tigervnc-ee3f46adc9d24d5a1ab4c5eada9dbd8605651963.zip
Avoid GCC warning: initializer lists ordered as declarations
git-svn-id: svn://svn.code.sf.net/p/tigervnc/code/trunk@3352 3789f03b-4d11-0410-bbf8-ca57d06f2519
Diffstat (limited to 'win/rfb_win32/DIBSectionBuffer.cxx')
-rw-r--r--win/rfb_win32/DIBSectionBuffer.cxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/DIBSectionBuffer.cxx b/win/rfb_win32/DIBSectionBuffer.cxx
index 18ce3ea4..3c2f5096 100644
--- a/win/rfb_win32/DIBSectionBuffer.cxx
+++ b/win/rfb_win32/DIBSectionBuffer.cxx
@@ -28,7 +28,7 @@ static LogWriter vlog("DIBSectionBuffer");
DIBSectionBuffer::DIBSectionBuffer(HWND window_)
- : bitmap(0), device(0), window(window_) {
+ : bitmap(0), window(window_), device(0) {
memset(&format, 0, sizeof(format));
memset(palette, 0, sizeof(palette));
}