Closed Bug 281880 Opened 19 years ago Closed 19 years ago

Solaris bustage @nsMessenger.cpp:2178

Categories

(Thunderbird :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: yuanyi21, Assigned: Bienvenu)

Details

"nsMessenger.cpp", line 2178: Error: Cannot use const char* to initialize char*.

The line 2178 is:
  char * partId = strstr(aAttachmentUrl, partIdPrefix);

changing it to either
  char * partId = (char *)strstr(aAttachmentUrl, partIdPrefix);
or
  char * partId = PL_strstr(aAttachmentUrl, partIdPrefix);
fixed it.
fixed (I used PL_strstr)
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.