[RSP] warning C4267: conversion, possible loss of data
This commit is contained in:
parent
341f2c2752
commit
6a194b4926
|
@ -470,8 +470,10 @@ LRESULT CALLBACK RSP_Commands_Proc (HWND hDlg, UINT uMsg, WPARAM wParam, LPARAM
|
|||
case IDC_LIST:
|
||||
if (HIWORD(wParam) == LBN_DBLCLK )
|
||||
{
|
||||
DWORD Location, Selected;
|
||||
Selected = SendMessage(hList,LB_GETCURSEL,(WPARAM)0, (LPARAM)0);
|
||||
LRESULT Selected;
|
||||
DWORD Location;
|
||||
|
||||
Selected = SendMessage(hList, LB_GETCURSEL, 0, 0);
|
||||
Location = RSPCommandLine[Selected].Location;
|
||||
if (Location != (DWORD)-1)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue