https://bugs.freedesktop.org/show_bug.cgi?id=103248
--- Comment #2 from Vinson Lee <v...@freedesktop.org> ---
(In reply to Brian Paul from comment #1)
> If you change the declaration to this, does that help?
>
> const char *t = strchr(s, c);
No, I get this error with that change.
piglit-util.h:310:9: error: cannot initialize return object of type 'char *'
with an rvalue of type 'const char *'
return (t == NULL) ? ((char *) s + strlen(s)) : t;
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
--
You are receiving this mail because:
You are the assignee for the bug.
You are the QA Contact for the bug.
_______________________________________________
Piglit mailing list
Piglit@lists.freedesktop.org
https://lists.freedesktop.org/mailman/listinfo/piglit