Merge pull request #612 from cxd4/implicit-LRESULT-to-DWORD
[RSP] warning C4267: conversion, possible loss of data
This commit is contained in:
commit
f8384d247d
|
@ -470,8 +470,10 @@ LRESULT CALLBACK RSP_Commands_Proc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM
|
||||||
case IDC_LIST:
|
case IDC_LIST:
|
||||||
if (HIWORD(wParam) == LBN_DBLCLK )
|
if (HIWORD(wParam) == LBN_DBLCLK )
|
||||||
{
|
{
|
||||||
DWORD Location, Selected;
|
LRESULT Selected;
|
||||||
Selected = SendMessage(hList,LB_GETCURSEL,(WPARAM)0, (LPARAM)0);
|
DWORD Location;
|
||||||
|
|
||||||
|
Selected = SendMessage(hList, LB_GETCURSEL, 0, 0);
|
||||||
Location = RSPCommandLine[Selected].Location;
|
Location = RSPCommandLine[Selected].Location;
|
||||||
if (Location != (DWORD)-1)
|
if (Location != (DWORD)-1)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue