Windows: Fix some remaining ASLR issues

This commit is contained in:
Henrik Rydgard committed 2015-07-15 22:25:24 +02:00
1 parent a1faef4e8f
commit aaa8350591
3 files changed
+8 -2

No files matched your search

+1 -1
View File
@@ -69,7 +69,7 @@ static const char basic_vs[] =
SimpleGLWindow::SimpleGLWindow(HWND wnd)
: hWnd_(wnd), valid_(false), drawProgram_(nullptr), tex_(0), flags_(0), zoom_(false),
dragging_(false), offsetX_(0), offsetY_(0), reformatBuf_(nullptr) {
SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG) this);
SetWindowLongPtr(wnd, GWLP_USERDATA, (LONG_PTR) this);
}
SimpleGLWindow::~SimpleGLWindow() {