[Spice-devel] [PATCH qxl-wddm-dod 13/20] fixup! qxl-wddm-dod: Registry-based control over VSync

Frediano Ziglio fziglio at redhat.com
Tue Mar 28 13:27:08 UTC 2017


Constify path argument, no reasons to change it
---
 qxldod/driver.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/qxldod/driver.cpp b/qxldod/driver.cpp
index 01b88d7..769eaef 100755
--- a/qxldod/driver.cpp
+++ b/qxldod/driver.cpp
@@ -24,7 +24,7 @@ int nDebugLevel = TRACE_LEVEL_ERROR;
 // registry-based configuration is intended to be manual only
 // for VSync suppression during support and troubleshooting
 // and not expected to be made default
-static void QueryVSyncSetting(BOOLEAN& b, UNICODE_STRING *path)
+static void QueryVSyncSetting(BOOLEAN& b, const UNICODE_STRING *path)
 {
     PAGED_CODE();
     WCHAR buffer[MAX_PATH];
-- 
2.9.3



More information about the Spice-devel mailing list