Revision: 5049
http://matplotlib.svn.sourceforge.net/matplotlib/?rev=5049&view=rev
Author: dsdale
Date: 2008-04-19 07:15:43 -0700 (Sat, 19 Apr 2008)
Log Message:
-----------
cleanup conversion of string to char*, avoid deprecation warnings during
build
Modified Paths:
--------------
trunk/matplotlib/src/_backend_agg.cpp
Modified: trunk/matplotlib/src/_backend_agg.cpp
===================================================================
--- trunk/matplotlib/src/_backend_agg.cpp 2008-04-19 05:35:00 UTC (rev
5048)
+++ trunk/matplotlib/src/_backend_agg.cpp 2008-04-19 14:15:43 UTC (rev
5049)
@@ -1308,7 +1308,7 @@
throw Py::TypeError("Object does not appear to be a 8-bit string path or
a Python file-like object");
}
- PyObject_CallFunction(write_method, "s#", pixBuffer, NUMBYTES);
+ PyObject_CallFunction(write_method, (char *)"s#", pixBuffer, NUMBYTES);
Py_XDECREF(write_method);
}
This was sent by the SourceForge.net collaborative development platform, the
world's largest Open Source development site.
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Matplotlib-checkins mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins