From db7fc1cd58b4ddede67656eb5a7b2b4acb49cfb2 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Wed, 29 Jun 2005 11:17:42 +0000 Subject: [PATCH] Avoid compiler warning in AddEntryToList(). --- programs/regedit/listview.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/regedit/listview.c b/programs/regedit/listview.c index f5a797e9d53..5cc80022fdd 100644 --- a/programs/regedit/listview.c +++ b/programs/regedit/listview.c @@ -159,7 +159,7 @@ static void AddEntryToList(HWND hwndLV, LPTSTR Name, DWORD dwValType, index = ListView_InsertItem(hwndLV, &item); if (index != -1) { /* LPTSTR pszText = NULL; */ - LPCTSTR pszText = _T("(cannot display value)"); + LPTSTR pszText = _T("(cannot display value)"); switch (dwValType) { case REG_SZ: case REG_EXPAND_SZ: