summaryrefslogtreecommitdiff
blob: 08111f5e66fe87f3f311e1cea3977ec90e1bd4a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
--- lavaps-2.7/src/process_model.cc
+++ lavaps-2.7/src/process_model.cc
@@ -86,7 +86,7 @@
 void
 process_model::dump()
 {
-	cout << int(this) << " "<< pid_ << " " << uid_ << " " << cmd_.c_str() << " " <<
+	cout << long(this) << " "<< pid_ << " " << uid_ << " " << cmd_.c_str() << " " <<
 		endl;
 }
 
--- lavaps-2.7/src/blob.cc
+++ lavaps-2.7/src/blob.cc
@@ -503,7 +503,7 @@
 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: ") << (unsigned long)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];
 	};
--- lavaps-2.7/src/linux/proc/ps.h
+++ lavaps-2.7/src/linux/proc/ps.h
@@ -5,9 +5,6 @@
 /* get definition of HZ */
 #include <asm/param.h>
 
-/* get page info */
-#include <asm/page.h>
-
 char *wchan(unsigned long);
 char *find_func(unsigned long address);
 void *xcalloc(void *pointer, int size);