Skip to content

Commit b0f1c3c

Browse files
Fix VERSIONINFO for llvm-rc (#206)
* Fix VERSIONINFO (#155) * Fix debug print according to the review
1 parent 2cde5d0 commit b0f1c3c

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

loader/windows/OpenCL.rc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ BEGIN
3333
BEGIN
3434
VALUE "FileDescription" ,"OpenCL Client DLL"
3535
VALUE "ProductName" ,OPENCL_ICD_LOADER_NAME_STRING
36-
VALUE "LegalCopyright" ,"Copyright \251 The Khronos Group Inc 2016-2020"
36+
VALUE "LegalCopyright" ,L"Copyright \251 The Khronos Group Inc 2016-2020"
3737
VALUE "FileVersion" ,OPENCL_ICD_LOADER_VERSION_STRING ".0"
3838
VALUE "CompanyName" ,OPENCL_ICD_LOADER_VENDOR_STRING
3939
VALUE "InternalName" ,"OpenCL"

loader/windows/icd_windows.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ void *khrIcdOsLibraryLoad(const char *libraryName)
423423
}
424424
if (!hTemp)
425425
{
426-
KHR_ICD_TRACE("Failed to load driver. Windows error code is %d.\n", GetLastError());
426+
KHR_ICD_TRACE("Failed to load driver. Windows error code is %"PRIuDW".\n", GetLastError());
427427
}
428428
return (void*)hTemp;
429429
}

0 commit comments

Comments
 (0)