Skip to content

Commit

Permalink
Cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
cancel committed Jan 22, 2022
1 parent 7c0f1a0 commit 1661e02
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions uxn32.c
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,7 @@ enum { Screen60hzTimer = 1 };
enum
{
UXNMSG_ContinueExec = WM_USER,
UXNMSG_BecomeClone,
UXNMSG_BecomeClone
};
enum EmuIn
{
Expand Down Expand Up @@ -987,7 +987,7 @@ static void ReloadFromROMFile(EmuWindow *d)

static void OpenROMDialog(EmuWindow *d)
{
BOOL res; TCHAR filename[MAX_PATH]; int filelen;
TCHAR filename[MAX_PATH]; int filelen;
OPENFILENAME ofn;
filename[0] = 0;

Expand Down Expand Up @@ -1183,7 +1183,7 @@ static LRESULT CALLBACK WindowProc(HWND hwnd, UINT msg, WPARAM wparam, LPARAM lp
break;
case WM_KEYDOWN: case WM_SYSKEYDOWN: case WM_KEYUP: case WM_SYSKEYUP:
{
int up = lparam & 1 << 31, was_down = lparam & 1 << 30, bits = 0; TCHAR keyChar;
int up = (int)lparam & 1 << 31, was_down = lparam & 1 << 30, bits = 0; TCHAR keyChar;
switch ((int)wparam)
{
case VK_CONTROL: bits = 0x01; break;
Expand Down

0 comments on commit 1661e02

Please sign in to comment.