[PATCH 1/3] cabinet/tests: Alter string declaration to include null terminator.
Alex Henrie
alexhenrie24 at gmail.com
Sun Aug 18 15:12:13 CDT 2019
+ * Copyright (C) 2019 Isira Seneviratne
- static const char expected[12] = "Hello World!";
+ static const char expected[12] = {
'H','e','l','l','o','W','o','r','l','d','!','\0' };
All you had to do was remove the number 12 and let the compiler
determine the size of the array automatically. And you really
shouldn't add your name at the top of the file unless you wrote a
substantial chunk of the file.
-Alex
More information about the wine-devel
mailing list