Changeset 759

Show
Ignore:
Timestamp:
03/12/08 16:07:51 (6 months ago)
Author:
takkaria
Message:

Fix some more nits picked up by Shanoah.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • trunk/src/cmd0.c

    r698 r759  
    462462{ 
    463463        menu_type menu; 
    464         menu_iter commands_menu = { 0, 0, 0, cmd_sub_entry, cmd_sub_action }; 
     464        menu_iter commands_menu = { MN_NULL, 0, 0, cmd_sub_entry, cmd_sub_action }; 
    465465        region area = { 23, 4, 37, 13 }; 
    466466 
     
    527527{ 
    528528        menu_type menu; 
    529         menu_iter commands_menu = { 0, 0, 0, cmd_list_entry, cmd_list_action }; 
     529        menu_iter commands_menu = { MN_NULL, 0, 0, cmd_list_entry, cmd_list_action }; 
    530530        region area = { 21, 5, 37, 6 }; 
    531531 
  • trunk/src/cmd4.c

    r717 r759  
    23132313static const menu_iter options_toggle_iter = 
    23142314{ 
    2315         0
     2315        MN_NULL
    23162316        NULL, 
    23172317        NULL, 
  • trunk/src/game-event.c

    r623 r759  
    2323#include "game-event.h" 
    2424 
    25 struct event_handler_entry; 
     25typedef struct event_handler_entry; 
    2626struct event_handler_entry 
    2727{ 
  • trunk/src/load.c

    r689 r759  
    344344        byte old_dd; 
    345345        byte old_ds; 
    346         byte tmp8u; 
    347346 
    348347        u32b f1, f2, f3; 
  • trunk/src/z-file.c

    r693 r759  
    547547bool file_writec(ang_file *f, byte b) 
    548548{ 
    549         return file_write(f, &b, 1); 
     549        return file_write(f, (const char *)&b, 1); 
    550550} 
    551551