summaryrefslogtreecommitdiff
path: root/sysutils/lavaps/patches/patch-ag
blob: 1d9c93a25cfceaaee3a57df7b5120429e87975fa (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-ag,v 1.2 2011/11/25 22:18:54 joerg Exp $

--- src/blob.cc.orig	2004-12-16 05:12:38.000000000 +0000
+++ src/blob.cc
@@ -21,6 +21,7 @@
 
 #include "config.h"
 
+#include <inttypes.h>
 #include <stdlib.h>  // atoi
 
 #include <iostream>
@@ -503,7 +504,7 @@ void
 blob::print()
 {
 	ENTRY_TRACE(__FILE__,__LINE__);
-	cout << O_("blob: ") << (unsigned)this << O_(" x=") << x_ << O_(" step=") << x_step_ << O_(" num=") << num_ << O_(":");
+	cout << O_("blob: ") << (uintptr_t)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];
 	};