[prev in list] [next in list] [prev in thread] [next in thread]
List: wine-devel
Subject: Re: PATCH: server/trace.c cleanup (RETRY)
From: Gerald Pfeifer <gerald () pfeifer ! com>
Date: 2003-09-30 17:28:19
[Download RAW message or body]
On Tue, 30 Sep 2003, Alexandre Julliard wrote:
> That code is generated, there's no point in fixing it. You need to
> change tools/make_requests.
Thanks for the hint; I'll give it a try.
However, server/registry.c doesn't seem to be generated, so I believe
the patch below is fine as is?
Gerald
-------- forwarded message --------
From: Gerald Pfeifer <gerald@pfeifer.com>
To: wine-patches@winehq.com
Date: Sun, 21 Sep 2003 22:36:05 +0200 (CEST)
Subject: PATCH: server/registry.c
Similar to the previous one.
Gerald
ChangeLog:
Properly cast parameters to fprintf(...,"%ld",...) to long.
Index: registry.c
===================================================================
RCS file: /home/wine/wine/server/registry.c,v
retrieving revision 1.53
diff -u -3 -p -r1.53 registry.c
--- registry.c 7 Sep 2003 05:08:14 -0000 1.53
+++ registry.c 21 Sep 2003 20:35:08 -0000
@@ -265,7 +265,7 @@ static void save_subkeys( const struct k
{
fprintf( f, "\n[" );
if (key != base) dump_path( key, base, f );
- fprintf( f, "] %ld\n", key->modif );
+ fprintf( f, "] %ld\n", (long)key->modif );
for (i = 0; i <= key->last_value; i++) dump_value( &key->values[i], f );
}
for (i = 0; i <= key->last_subkey; i++) save_subkeys( key->subkeys[i], base, f );
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic