8224056: Fix some assignments of string literals to LPSTR (instead of LPCSTR)
Reviewed-by: prr
Contributed-by: andrewluotechnologies@outlook.com
--- a/src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp Thu May 30 17:14:06 2019 -0700
+++ b/src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp Sun Jun 02 12:38:45 2019 -0700
@@ -357,7 +357,7 @@
} DS_Info;
-LPSTR TranslateDSError(HRESULT hr) {
+LPCSTR TranslateDSError(HRESULT hr) {
switch(hr) {
case DSERR_ALLOCATED:
return "DSERR_ALLOCATED";