summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/arch/alpha/linux/threadinfo.hh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/arch/alpha/linux/threadinfo.hh b/src/arch/alpha/linux/threadinfo.hh
index db723bed3..6144cb773 100644
--- a/src/arch/alpha/linux/threadinfo.hh
+++ b/src/arch/alpha/linux/threadinfo.hh
@@ -103,7 +103,7 @@ class ThreadInfo
int32_t
curTaskPID(Addr thread_info = 0)
{
- Addr offset;
+ int32_t offset;
if (!get_data("task_struct_pid", offset))
return -1;
@@ -116,7 +116,7 @@ class ThreadInfo
int64_t
curTaskStart(Addr thread_info = 0)
{
- Addr offset;
+ int32_t offset;
if (!get_data("task_struct_start_time", offset))
return -1;