CVS: winex/scheduler thread.c,1.37,1.38

[email protected] 12 Sep 2007 12:23:16 -0000
Newsgroups gmane.comp.emulators.winex.cvs
Message-ID <[email protected]>
Subject: winex/scheduler thread.c,1.37,1.38Update of /var/lib/cvsd/cvsroot/winex/scheduler
In directory agravaine:/tmp/cvs-serv8805/scheduler

Modified Files:
	thread.c 
Log Message:

- fixed several printf warnings
- prevented some non-strings from being printed as strings in psapi



Index: thread.c
===================================================================
RCS file: /var/lib/cvsd/cvsroot/winex/scheduler/thread.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -d -r1.37 -r1.38
--- thread.c	12 Sep 2007 12:20:11 -0000	1.37
+++ thread.c	12 Sep 2007 12:23:14 -0000	1.38
@@ -246,7 +246,7 @@
     teb->stack_top -= ((ULONG)teb->stack_top - (ULONG)teb->stack_low) % 4096;
 #endif
 
-    TRACE ("base: %p, stack_low: %p, stack_top: %p, total_size: %d\n",
+    TRACE ("base: %p, stack_low: %p, stack_top: %p, total_size: %ld\n",
            base, teb->stack_low, teb->stack_top, total_size);
 
     /* Setup guard pages */
@@ -378,7 +378,7 @@
     thread_id_t tid = 0;
     int request_pipe[2];
    
-    TRACE("sec_attr: %p, stack: %d, start_proc: %p, param: %p, flags: %d, id: %d\n", 
+    TRACE("sec_attr: %p, stack: %ld, start_proc: %p, param: %p, flags: %ld, id: %p\n", 
 	sa, stack, start, param, flags, id);
  
     if (pipe( request_pipe ) == -1)
@@ -742,7 +742,7 @@
     HANDLE hthread,
     DWORD processorId)
 {
-   FIXME ("(0x%x, %u): stub\n", hthread, processorId);
+   FIXME ("(0x%x, %ld): stub\n", hthread, processorId);
    return 0;
 }