sign-compare fixes
Joris Huizer
joris_huizer at yahoo.com
Wed Feb 7 09:38:02 CST 2007
Skipped content of type multipart/alternative-------------- next part --------------
>From f59156a5450c2a9393d10a6bd645e91498572401 Mon Sep 17 00:00:00 2001
From: Joris Huizer <jorishuizer at debian.(none)>
Date: Wed, 7 Feb 2007 16:02:14 +0100
Subject: [PATCH] winedump: sign-compare fix
To: wine-patches <wine-patches at winehq.org>
---
tools/winedump/pdb.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/tools/winedump/pdb.c b/tools/winedump/pdb.c
index bd71ede..e9cbd6b 100644
--- a/tools/winedump/pdb.c
+++ b/tools/winedump/pdb.c
@@ -295,7 +295,7 @@ static void pdb_dump_symbols(struct pdb_
/* Read per-module symbol / linenumber tables */
file = (const char*)symbols + sizeof(PDB_SYMBOLS);
- while (file - (const char*)symbols < sizeof(PDB_SYMBOLS) + symbols->module_size)
+ while ((unsigned long)(file - (const char*)symbols) < sizeof(PDB_SYMBOLS) + symbols->module_size)
{
int file_nr, symbol_size, lineno_size;
const char* file_name;
--
1.4.4
-------------- next part --------------
>From bf8fa984a0096c128d118ea3a2610816fc77cb8b Mon Sep 17 00:00:00 2001
From: Joris Huizer <jorishuizer at debian.(none)>
Date: Wed, 7 Feb 2007 16:21:10 +0100
Subject: [PATCH] preloader: sign-compare fix
To: wine-patches <wine-patches at winehq.org>
---
loader/preloader.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
diff --git a/loader/preloader.c b/loader/preloader.c
index 5648158..0034e9a 100644
--- a/loader/preloader.c
+++ b/loader/preloader.c
@@ -1006,7 +1006,8 @@ static int is_in_preload_range( const El
/* set the process name if supported */
static void set_process_name( int argc, char *argv[] )
{
- unsigned int i, off;
+ int i;
+ unsigned int off;
char *p, *name, *end;
/* set the process short name */
--
1.4.4
More information about the wine-patches
mailing list