[Gridflow-cvs] [svn] commit: r5308 - /trunk/src/gridflow.cxx

svn-gridflow at artengine.ca svn-gridflow at artengine.ca
Mon Apr 5 11:02:34 EDT 2010


Author: pboivin
Date: Mon Apr  5 11:02:29 2010
New Revision: 5308

Log:
fix for platforms that don't define ulong

Modified:
    trunk/src/gridflow.cxx

Modified: trunk/src/gridflow.cxx
==============================================================================
--- trunk/src/gridflow.cxx (original)
+++ trunk/src/gridflow.cxx Mon Apr  5 11:02:29 2010
@@ -160,7 +160,7 @@
 		case A_FLOAT:   self << a.a_float; break;
 		case A_SYMBOL:  self << a.a_symbol->s_name; break; // i would rather show backslashes here...
 		case A_DOLLSYM: self << a.a_symbol->s_name; break; // for real, it's the same thing as A_SYMBOL in pd >= 0.40
-		case A_POINTER: self << "\\p(0x" << std::hex << (ulong)a.a_gpointer << std::dec << ")"; break;
+		case A_POINTER: self << "\\p(0x" << std::hex << (unsigned long)a.a_gpointer << std::dec << ")"; break;
 		case A_COMMA:   self << ","; break;
 		case A_SEMI:    self << ";"; break;
 		case A_DOLLAR:  self << "$" << a.a_w.w_index; break;



More information about the Gridflow-cvs mailing list