File lavaps-2.7-axp.dif of Package lavaps

--- src/blob.cc
+++ src/blob.cc
@@ -501,7 +501,8 @@
 blob::print()
 {
 	ENTRY_TRACE(__FILE__,__LINE__);
-	cout << O_("blob: ") << (unsigned)this << O_(" x=") << x_ << O_(" step=") << x_step_ << O_(" num=") << num_ << O_(":");
+	cout << "blob: " << reinterpret_cast<void *>(this) << O_(" x=") << x_ << O_(" step=") << x_step_ << O_(" num=") << num_ << O_(":");
+
 	for (int i = 0; i < num_; i++) {
 		cout << O_(" ") << y_lows_[i] << O_("-") << y_highs_[i];
 	};
--- src/process_model.cc
+++ src/process_model.cc
@@ -86,7 +86,7 @@
 void
 process_model::dump()
 {
-	cout << int(this) << " "<< pid_ << " " << uid_ << " " << cmd_.c_str() << " " <<
+	cout << reinterpret_cast<void *>(this) << " "<< pid_ << " " << uid_ << " " << cmd_.c_str() << " " <<
 		endl;
 }
 
openSUSE Build Service is sponsored by