Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 511922 Details for
Bug 631542
=games-sports/torcs-1.3.6-r1: invalid conversion from ‘char’ to ‘const char*’ [-fpermissive]
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Fix null pointer
torcs-nullptr.patch (text/plain), 585 bytes, created by
Michael Uleysky
on 2017-12-29 03:39:45 UTC
(
hide
)
Description:
Fix null pointer
Filename:
MIME Type:
Creator:
Michael Uleysky
Created:
2017-12-29 03:39:45 UTC
Size:
585 bytes
patch
obsolete
>diff -urd torcs-1.3.8-test1/src/libs/musicplayer/OpenALMusicPlayer.cpp torcs-1.3.8-test1-const/src/libs/musicplayer/OpenALMusicPlayer.cpp >--- torcs-1.3.8-test1/src/libs/musicplayer/OpenALMusicPlayer.cpp 2014-02-05 20:54:43.000000000 +1100 >+++ torcs-1.3.8-test1-const/src/libs/musicplayer/OpenALMusicPlayer.cpp 2017-12-29 13:32:37.462973705 +1000 >@@ -161,7 +161,7 @@ > { > char pcm[BUFFERSIZE]; > int size = 0; >- const char* error = '\0'; >+ const char* error = 0; > > if (!stream->read(pcm, BUFFERSIZE, &size, &error)) { > GfError("OpenALMusicPlayer: Stream read error: %s\n", error);
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 631542
:
495626
|
495628
| 511922 |
522206
|
522208
|
522210
|
522212
|
522214
|
522216