| Re: [AD] Patch Status |
[ Thread Index | Date Index | More lists.liballeg.org/allegro-developers Archives ]
On 2 Apr 2001, at 19:24, Eric Botcazou wrote: > Could you post the fix for the remaining MSVC warnings ? > If we could definitively get rid of them... Sure. Four patches attached. I used "cvs -z3 diff -u > tempfile" then separated each component. So it is in "unified" format. I'm pretty sure I have the formatting right now. Gillius
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: datgrid.diff
Date: 2 Apr 2001, 16:47
Size: 6182 bytes.
Type: Unknown
Attachment:
datgrid.diff
Description: Binary data
Index: src/modesel.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/modesel.c,v
retrieving revision 1.5
diff -u -r1.5 modesel.c
--- src/modesel.c 2001/02/01 01:53:12 1.5
+++ src/modesel.c 2001/04/02 20:31:30
@@ -236,31 +236,31 @@
static DIALOG gfx_mode_dialog[] =
{
- /* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */
- { _gui_shadow_box_proc, 0, 0, 313, 159, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
- { _gui_ctext_proc, 156, 8, 1, 1, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
- { _gui_button_proc, 196, 105, 101, 17, 0, 0, 0, D_EXIT, 0, 0, NULL, NULL, NULL },
- { _gui_button_proc, 196, 127, 101, 17, 0, 0, 27, D_EXIT, 0, 0, NULL, NULL, NULL },
- { _gui_list_proc, 16, 28, 165, 116, 0, 0, 0, D_EXIT, 0, 0, gfx_card_getter, NULL, NULL },
- { _gui_list_proc, 196, 28, 101, 68, 0, 0, 0, D_EXIT, 3, 0, gfx_mode_getter, NULL, NULL },
- { d_yield_proc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
- { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
+ /* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */
+ { _gui_shadow_box_proc, 0, 0, 313, 159, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
+ { _gui_ctext_proc, 156, 8, 1, 1, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
+ { _gui_button_proc, 196, 105, 101, 17, 0, 0, 0, D_EXIT, 0, 0, NULL, NULL, NULL },
+ { _gui_button_proc, 196, 127, 101, 17, 0, 0, 27, D_EXIT, 0, 0, NULL, NULL, NULL },
+ { _gui_list_proc, 16, 28, 165, 116, 0, 0, 0, D_EXIT, 0, 0, (void*)gfx_card_getter, NULL, NULL },
+ { _gui_list_proc, 196, 28, 101, 68, 0, 0, 0, D_EXIT, 3, 0, (void*)gfx_mode_getter, NULL, NULL },
+ { d_yield_proc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
+ { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
};
static DIALOG gfx_mode_ex_dialog[] =
{
- /* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */
- { _gui_shadow_box_proc, 0, 0, 313, 159, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
- { _gui_ctext_proc, 156, 8, 1, 1, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
- { _gui_button_proc, 196, 105, 101, 17, 0, 0, 0, D_EXIT, 0, 0, NULL, NULL, NULL },
- { _gui_button_proc, 196, 127, 101, 17, 0, 0, 27, D_EXIT, 0, 0, NULL, NULL, NULL },
- { _gui_list_proc, 16, 28, 165, 68, 0, 0, 0, D_EXIT, 0, 0, gfx_card_getter, NULL, NULL },
- { _gui_list_proc, 196, 28, 101, 68, 0, 0, 0, D_EXIT, 3, 0, gfx_mode_getter, NULL, NULL },
- { _gui_list_proc, 16, 105, 165, 44, 0, 0, 0, D_EXIT, 0, 0, gfx_depth_getter, NULL, NULL },
- { d_yield_proc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
- { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
+ /* (dialog proc) (x) (y) (w) (h) (fg) (bg) (key) (flags) (d1) (d2) (dp) (dp2) (dp3) */
+ { _gui_shadow_box_proc, 0, 0, 313, 159, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
+ { _gui_ctext_proc, 156, 8, 1, 1, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
+ { _gui_button_proc, 196, 105, 101, 17, 0, 0, 0, D_EXIT, 0, 0, NULL, NULL, NULL },
+ { _gui_button_proc, 196, 127, 101, 17, 0, 0, 27, D_EXIT, 0, 0, NULL, NULL, NULL },
+ { _gui_list_proc, 16, 28, 165, 68, 0, 0, 0, D_EXIT, 0, 0, (void*)gfx_card_getter, NULL, NULL },
+ { _gui_list_proc, 196, 28, 101, 68, 0, 0, 0, D_EXIT, 3, 0, (void*)gfx_mode_getter, NULL, NULL },
+ { _gui_list_proc, 16, 105, 165, 44, 0, 0, 0, D_EXIT, 0, 0, (void*)gfx_depth_getter, NULL, NULL },
+ { d_yield_proc, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL },
+ { NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, NULL, NULL }
};
The following section of this message contains a file attachment
prepared for transmission using the Internet MIME message format.
If you are using Pegasus Mail, or any another MIME-compliant system,
you should be able to save it or view it from within your mailer.
If you cannot, please ask your system administrator for assistance.
---- File information -----------
File: setup.diff
Date: 2 Apr 2001, 16:48
Size: 2636 bytes.
Type: Unknown
Attachment:
setup.diff
Description: Binary data
Index: src/win/wkeybd.c
===================================================================
RCS file: /cvsroot/alleg/allegro/src/win/wkeybd.c,v
retrieving revision 1.5
diff -u -r1.5 wkeybd.c
--- src/win/wkeybd.c 2001/04/01 12:16:23 1.5
+++ src/win/wkeybd.c 2001/04/02 20:31:31
@@ -255,7 +255,7 @@
for (key=0; key<256; key++)
if (key_state[key] & 0x80)
- key_dinput_handle_scancode(key, FALSE);
+ key_dinput_handle_scancode((unsigned char)key, FALSE);
IDirectInputDevice_Unacquire(key_dinput_device);
}
| Mail converted by MHonArc 2.6.19+ | http://listengine.tuxfamily.org/ |