Commit 58bc7bed authored by ggaren's avatar ggaren

Build fix.

        * DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
        (handleCallback): Explicitly cast the void* returned by malloc.



git-svn-id: http://svn.webkit.org/repository/webkit/trunk@20873 268f45cc-cd09-0410-ab3c-d52691b4dbfc
parent 274bb0e3
2007-04-13 Geoffrey Garen <ggaren@apple.com>
Build fix.
* DumpRenderTree/TestNetscapePlugIn.subproj/PluginObject.c:
(handleCallback): Explicitly cast the void* returned by malloc.
2007-04-12 Deneb Meketa <dmeketa@adobe.com>
Reviewed by Darin Adler.
......
......@@ -379,7 +379,7 @@ void handleCallback(PluginObject* object, const char *url, NPReason reason, void
+ strlen(object->firstHeaders) + 1
+ strlen(object->lastUrl) + 2
+ strlen(object->lastHeaders) + 1;
strHdr = malloc(len + 1);
strHdr = (char*)malloc(len + 1);
snprintf(strHdr, len + 1, "%s\n\n%s\n%s\n\n%s\n",
object->firstUrl, object->firstHeaders, object->lastUrl, object->lastHeaders);
STRINGN_TO_NPVARIANT(strHdr, len, args[1]);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment