Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
pirvi-public
glfw
Commits
a44f2c0e
Commit
a44f2c0e
authored
Feb 28, 2017
by
Camilla Löwy
Browse files
Win32: Fix VC++ warning
parent
c54b5da4
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/win32_window.c
View file @
a44f2c0e
...
...
@@ -703,7 +703,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
break
;
GetRawInputData
(
ri
,
RID_INPUT
,
NULL
,
&
size
,
sizeof
(
RAWINPUTHEADER
));
if
(
size
>
_glfw
.
win32
.
rawInputSize
)
if
(
size
>
(
UINT
)
_glfw
.
win32
.
rawInputSize
)
{
free
(
_glfw
.
win32
.
rawInput
);
_glfw
.
win32
.
rawInput
=
calloc
(
size
,
1
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment