Revision: 8704
          http://matplotlib.svn.sourceforge.net/matplotlib/?rev=8704&view=rev
Author:   weathergod
Date:     2010-09-16 16:45:43 +0000 (Thu, 16 Sep 2010)

Log Message:
-----------
change pointer offset from type int to size_t, which caused problems with 
showing very high res images.
This fixes bug ID 3054444.

Modified Paths:
--------------
    branches/v1_0_maint/src/_image.cpp

Modified: branches/v1_0_maint/src/_image.cpp
===================================================================
--- branches/v1_0_maint/src/_image.cpp  2010-09-16 00:40:28 UTC (rev 8703)
+++ branches/v1_0_maint/src/_image.cpp  2010-09-16 16:45:43 UTC (rev 8704)
@@ -924,7 +924,7 @@
 
         int rgba = A->dimensions[2] == 4;
         double r, g, b, alpha;
-        int offset = 0;
+        size_t offset = 0;
 
         for (size_t rownum = 0; rownum < imo->rowsIn; rownum++)
         {


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

------------------------------------------------------------------------------
Start uncovering the many advantages of virtual appliances
and start using them to simplify application deployment and
accelerate your shift to cloud computing.
http://p.sf.net/sfu/novell-sfdev2dev
_______________________________________________
Matplotlib-checkins mailing list
Matplotlib-checkins@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/matplotlib-checkins

Reply via email to