Duplicate trailing nul bytes are not needed.
---
 mingw-w64-libraries/winpthreads/src/version.rc | 16 ++++++++--------
 mingw-w64-libraries/winpthreads/src/wpth_ver.h |  2 +-
 2 files changed, 9 insertions(+), 9 deletions(-)

diff --git a/mingw-w64-libraries/winpthreads/src/version.rc 
b/mingw-w64-libraries/winpthreads/src/version.rc
index eb6a350a77f4..19c2d1e702aa 100644
--- a/mingw-w64-libraries/winpthreads/src/version.rc
+++ b/mingw-w64-libraries/winpthreads/src/version.rc
@@ -24,11 +24,11 @@
 #include "wpth_ver.h"
 
 #if defined(__MINGW64__)
-# define WPTH_VERSIONINFO_COMMENT "GNU C build -- MinGW-w64 64-bit\0"
+# define WPTH_VERSIONINFO_COMMENT "GNU C build -- MinGW-w64 64-bit"
 #elif defined(__MINGW32__)
-# define WPTH_VERSIONINFO_COMMENT "GNU C build -- MinGW-w64 32-bit\0"
+# define WPTH_VERSIONINFO_COMMENT "GNU C build -- MinGW-w64 32-bit"
 #else
-# define WPTH_VERSIONINFO_COMMENT "MSVC build\0"
+# define WPTH_VERSIONINFO_COMMENT "MSVC build"
 #endif
 
 VS_VERSION_INFO VERSIONINFO
@@ -47,15 +47,15 @@ BEGIN
     BEGIN
         BLOCK "040904b0"
         BEGIN
-            VALUE "FileDescription", "POSIX WinThreads for Windows\0"
+            VALUE "FileDescription", "POSIX WinThreads for Windows"
             VALUE "ProductVersion", WPTH_VERSION_STRING
             VALUE "FileVersion", WPTH_VERSION_STRING
             VALUE "InternalName", "libwinpthread-" WPTH_VERSION_MAJOR_STRING 
".dll"
             VALUE "OriginalFilename", "libwinpthread-" 
WPTH_VERSION_MAJOR_STRING ".dll"
-            VALUE "CompanyName", "MinGW-W64 Project. All rights reserved.\0"
-            VALUE "LegalCopyright", "Copyright (C) MinGW-W64 Project Members 
2010-2023\0"
-            VALUE "Licence", "MIT AND BSD-3-Clause\0"
-            VALUE "Info", "https://www.mingw-w64.org/\0";
+            VALUE "CompanyName", "MinGW-W64 Project. All rights reserved."
+            VALUE "LegalCopyright", "Copyright (C) MinGW-W64 Project Members 
2010-2023"
+            VALUE "Licence", "MIT AND BSD-3-Clause"
+            VALUE "Info", "https://www.mingw-w64.org/";
            VALUE "Comment", WPTH_VERSIONINFO_COMMENT
         END
     END
diff --git a/mingw-w64-libraries/winpthreads/src/wpth_ver.h 
b/mingw-w64-libraries/winpthreads/src/wpth_ver.h
index b762eed0e085..ea36c1e15206 100644
--- a/mingw-w64-libraries/winpthreads/src/wpth_ver.h
+++ b/mingw-w64-libraries/winpthreads/src/wpth_ver.h
@@ -24,7 +24,7 @@
 #define __WPTHREADS_VERSION__
 
 #define WPTH_VERSION 1,0,0,0
-#define WPTH_VERSION_STRING "1, 0, 0, 0\0"
+#define WPTH_VERSION_STRING "1, 0, 0, 0"
 #define WPTH_VERSION_MAJOR_STRING "1"
 
 #endif
-- 
2.20.1



_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to