Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mpc-hc/mpc-hc.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorUnderground78 <underground78@users.sourceforge.net>2013-10-19 19:52:55 +0400
committerUnderground78 <underground78@users.sourceforge.net>2013-10-19 20:17:11 +0400
commitb3217c58617944a489a01114428d0a5fe17158be (patch)
tree1ade9a10b71af7452a99c97e69f2f7d236316149 /src
parent7ece84eaa4458bf1ea13853423b82d58c61e20db (diff)
Remove some overzealous constifications to avoid C4510 and C4610 warnings.
The language resources array is const already so there is no risk of unwanted modification.
Diffstat (limited to 'src')
-rw-r--r--src/mpc-hc/mplayerc.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/mpc-hc/mplayerc.h b/src/mpc-hc/mplayerc.h
index 11f47c563..fa93b3452 100644
--- a/src/mpc-hc/mplayerc.h
+++ b/src/mpc-hc/mplayerc.h
@@ -101,10 +101,10 @@ extern void SetAudioRenderer(int AudioDevNo);
extern void SetHandCursor(HWND m_hWnd, UINT nID);
struct LanguageResource {
- const UINT resourceID;
- const LANGID localeID; // Check http://msdn.microsoft.com/en-us/goglobal/bb964664
- const LPCTSTR name;
- const LPCTSTR dllPath;
+ UINT resourceID;
+ LANGID localeID; // Check http://msdn.microsoft.com/en-us/goglobal/bb964664
+ LPCTSTR name;
+ LPCTSTR dllPath;
};
class CMPlayerCApp : public CWinApp