diff options
author | Underground78 <underground78@users.sourceforge.net> | 2013-10-19 19:52:55 +0400 |
---|---|---|
committer | Underground78 <underground78@users.sourceforge.net> | 2013-10-19 20:17:11 +0400 |
commit | b3217c58617944a489a01114428d0a5fe17158be (patch) | |
tree | 1ade9a10b71af7452a99c97e69f2f7d236316149 /src | |
parent | 7ece84eaa4458bf1ea13853423b82d58c61e20db (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.h | 8 |
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
|