jenkins-core-weekly: update to 2.491
[oi-userland.git] / components / library / libmusicbrainz-3 / patches / 01-gcc7.patch
blob5f4712fd90c248d89c963a579457772021e33a01
1 --- libmusicbrainz-3.0.3/src/xmlParser/xmlParser.cpp.orig Sat May 6 17:28:53 2017
2 +++ libmusicbrainz-3.0.3/src/xmlParser/xmlParser.cpp Sat May 6 17:29:04 2017
3 @@ -740,7 +740,7 @@
4 if (lpszNew)
6 memcpy(lpszNew, lpszData, (cbData) * sizeof(TCHAR));
7 - lpszNew[cbData] = (TCHAR)NULL;
8 + lpszNew[cbData] = (TCHAR) 0;
10 return lpszNew;