diff options
author | Michael Turvey <mwturvey@users.noreply.github.com> | 2018-01-15 22:43:02 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-01-15 22:43:02 -0700 |
commit | 7755de9d2af61834568737594e29352b47176c7f (patch) | |
tree | 0d9eea391f3b266bcb80c47131092e0dbf317600 /redist/CNFGWinDriver.c | |
parent | 8be34f04a100defc9d1958aa4ce63ef02d19db69 (diff) | |
parent | b2eb7569a8963917116c4520e15b17f0578a2509 (diff) | |
download | libsurvive-7755de9d2af61834568737594e29352b47176c7f.tar.gz libsurvive-7755de9d2af61834568737594e29352b47176c7f.tar.bz2 |
Merge pull request #95 from mwturvey/SmallChange
Resolve warnings & remove survive.h dependency on redist
Diffstat (limited to 'redist/CNFGWinDriver.c')
-rw-r--r-- | redist/CNFGWinDriver.c | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/redist/CNFGWinDriver.c b/redist/CNFGWinDriver.c index b1c1eb0..9d1be6a 100644 --- a/redist/CNFGWinDriver.c +++ b/redist/CNFGWinDriver.c @@ -54,8 +54,8 @@ void CNFGGetDimensions( short * x, short * y ) lasty = buffery; InternalHandleResize(); } - *x = bufferx; - *y = buffery; + *x = (short)bufferx; + *y = (short)buffery; } @@ -212,7 +212,6 @@ void CNFGSetup( const char * name_of_window, int width, int height ) void CNFGHandleInput() { - int ldown = 0; MSG msg; while( PeekMessage( &msg, lsHWND, 0, 0xFFFF, 1 ) ) |