From: Nicholas Nethercote Date: Wed, 14 May 2003 14:04:39 +0000 (+0000) Subject: Minor type fixups. X-Git-Tag: svn/VALGRIND_2_0_0~148 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=32791c71c103a97d55dec47571d06882989cf5d6;p=thirdparty%2Fvalgrind.git Minor type fixups. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1636 --- diff --git a/coregrind/vg_scheduler.c b/coregrind/vg_scheduler.c index 1eb32bcac1..04c4933cac 100644 --- a/coregrind/vg_scheduler.c +++ b/coregrind/vg_scheduler.c @@ -97,12 +97,12 @@ static ForkHandlerEntry vg_fhstack[VG_N_FORKHANDLERSTACK]; /* The tid of the thread currently in VG_(baseBlock). */ -static Int vg_tid_currently_in_baseBlock = VG_INVALID_THREADID; +static ThreadId vg_tid_currently_in_baseBlock = VG_INVALID_THREADID; /* The tid either currently in baseBlock, or was in baseBlock before was saved it out; this is only updated when a new thread is loaded into the baseBlock */ -static Int vg_tid_last_in_baseBlock = VG_INVALID_THREADID; +static ThreadId vg_tid_last_in_baseBlock = VG_INVALID_THREADID; /* vg_oursignalhandler() might longjmp(). Here's the jmp_buf. */ jmp_buf VG_(scheduler_jmpbuf); @@ -842,7 +842,7 @@ static void sched_do_syscall ( ThreadId tid ) { UInt saved_eax; - UInt res, syscall_no; + Int res, syscall_no; UInt fd; void* pre_res; Bool orig_fd_blockness;