changeset 56573:feb860d41612

8224056: Fix some assignments of string literals to LPSTR (instead of LPCSTR) Reviewed-by: prr Contributed-by: andrewluotechnologies@outlook.com
author prr
date Sun, 02 Jun 2019 12:38:45 -0700
parents 55dc1385d1b7
children 26dd6fdc4165
files src/java.desktop/windows/native/libjsound/PLATFORM_API_WinOS_DirectSound.cpp
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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";