PATCH: server/registry.c

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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 );


[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux