Changeset 4659 for zzuf


Ignore:
Timestamp:
Sep 23, 2010, 12:31:55 AM (9 years ago)
Author:
Sam Hocevar
Message:

Fix compilation warnings on Win32.

Location:
zzuf/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • zzuf/trunk/msvc/config.h

    r4658 r4659  
    7070/* #undef HAVE_PIPE */
    7171/* #undef HAVE_POSIX_MEMALIGN */
    72 #define HAVE_PRAGMA_INIT 1
     72/* #undef HAVE_PRAGMA_INIT */
    7373/* #undef HAVE_PREAD */
    7474#define HAVE_PROCESS_H 1
  • zzuf/trunk/src/libzzuf/lib-load.h

    r4657 r4659  
    5151zzuf_table_t;
    5252
    53 #   define DIVERT(x) { "kernel32.dll", #x, &x##_orig, x##_new }
     53#   define DIVERT(x) { "kernel32.dll", #x, \
     54                      (void **)&x##_orig, (void *)x##_new }
    5455#   define DIVERT_END { NULL, NULL, NULL, NULL }
    5556
Note: See TracChangeset for help on using the changeset viewer.