|
| From: | anonymous |
| Subject: | [Mldonkey-users] [patch #4477] win: prevented some compiler warnings (os_stubs_c.c gdstubs.c) |
| Date: | Sun, 2 Oct 2005 16:50:26 +0000 |
| User-agent: | Mozilla/4.0 (compatible; MSIE 6.0; Windows NT 5.1) |
Follow-up Comment #3, patch #4477 (project mldonkey):
SetFilePointer returns a DWORD (msdn) so I think that is correct to use.
Including winbase.h is probably better than manually defining
INVALID_SET_FILE_POINTER at the top of the file, since it properly defines it
as a DWORD.
winbase.h:
#define INVALID_SET_FILE_POINTER ((DWORD)-1)
_______________________________________________________
Reply to this item at:
<http://savannah.nongnu.org/patch/?func=detailitem&item_id=4477>
_______________________________________________
Message sent via/by Savannah
http://savannah.nongnu.org/
| [Prev in Thread] | Current Thread | [Next in Thread] |