blob: 16bd19d2f79d91ded8446289a93a85780bcba7a7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
|
--- src/libs/tgf/params.cpp.orig 2017-02-14 10:32:38.701066427 +0100
+++ src/libs/tgf/params.cpp 2017-02-14 10:33:19.425879383 +0100
@@ -3809,7 +3809,7 @@
if( lastSlash != NULL && key )
{
*key = lastSlash + 1;
- lastSlash = '\0';
+ lastSlash = NULL;
}
else if( key )
{
--- src/libs/tgfclient/openalmusicplayer.cpp.orig 2017-02-14 13:14:10.870735828 +0100
+++ src/libs/tgfclient/openalmusicplayer.cpp 2017-02-14 13:15:11.592684153 +0100
@@ -171,7 +171,7 @@
{
char pcm[BUFFERSIZE];
int size = 0;
- const char* error = '\0';
+ const char* error = NULL;
if (!_stream->read(pcm, BUFFERSIZE, &size, error)) {
GfLogError("OpenALMusicPlayer: Stream read error: %s\n", error);
|