aboutsummaryrefslogtreecommitdiffstats
path: root/win/rfb_win32/DeviceContext.h
diff options
context:
space:
mode:
Diffstat (limited to 'win/rfb_win32/DeviceContext.h')
-rw-r--r--win/rfb_win32/DeviceContext.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/win/rfb_win32/DeviceContext.h b/win/rfb_win32/DeviceContext.h
index 0664684b..7e89723c 100644
--- a/win/rfb_win32/DeviceContext.h
+++ b/win/rfb_win32/DeviceContext.h
@@ -35,7 +35,7 @@ namespace rfb {
// and the pixel format, and access to the HDC itself.
class DeviceContext {
public:
- DeviceContext() : dc(0) {}
+ DeviceContext() : dc(nullptr) {}
virtual ~DeviceContext() {}
operator HDC() const {return dc;}
PixelFormat getPF() const;