http://oss.sgi.com/bugzilla/show_bug.cgi?id=839
--- Comment #1 from Nathan Scott <nathans@xxxxxxxxxx> 2009-05-31 20:25:14 CST
---
Thanks for the patch. It seems a little odd though:
p = (char *)(const char *)cp->name(m).toAscii();
- if ((q = strstr(p, "[")) != NULL) {
+ if ((q = strstr((char *)p, "[")) != NULL) {
Does making "p" of (char *) type initially, instead of (const char *) also fix
the problem?
That might be a bit more readable.
cheers.
--
Configure bugmail: http://oss.sgi.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.
|