Commits

Shlomi Fish committed 35fba7a

Fix functionality on 64-bit big-endian platforms.

https://rt.cpan.org/Ticket/Display.html?id=77340 .

  • Participants
  • Parent commits 0da8582

Comments (0)

Files changed (2)

     overloading.
         - t/62overload.t
         - Thanks to Mons.
+    - Fix test failures (and general functionality) on 64-bit big endian 
+    platforms
+        - https://rt.cpan.org/Ticket/Display.html?id=77340
+        - Thanks to Gregor Herrmann and Niko Tyni from the 
+        Debian Perl group.
 
 1.98            Sun May 13 21:02:14 IDT 2012
     - Make sure parse_string() and load_xml() also accept references to
        XML::LibXML::Document::serialize_html = 1
     PREINIT:
         xmlChar *result=NULL;
-        STRLEN len = 0;
+        int len = 0;
         PREINIT_SAVED_ERROR
     CODE:
         PERL_UNUSED_VAR(ix);
         xs_warn( "use no formated toString!" );
         INIT_ERROR_HANDLER;
-        htmlDocDumpMemory(self, &result, (int*)&len);
+        htmlDocDumpMemory(self, &result, &len);
         CLEANUP_ERROR_HANDLER;
         REPORT_ERROR(0);