[Piglit] [Bug 103248] piglit-util.h:308:8: error: cannot initialize a variable of type 'char *' with an rvalue of type 'const char *'

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Thu Oct 12 22:32:12 UTC 2017


https://bugs.freedesktop.org/show_bug.cgi?id=103248

--- Comment #3 from Brian Paul <brianp at vmware.com> ---
How about this?

        return (t == NULL) ? ((char *) s + strlen(s)) : (char *) t;

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.freedesktop.org/archives/piglit/attachments/20171012/87932fc7/attachment.html>


More information about the Piglit mailing list