Warning fixes: change of variable type and no need to inline.

(Logical change 1.508)
edge.strict_endians
!uv 2004-08-20 12:30:34 +00:00
parent 43b262ad58
commit c8dd770817
1 changed files with 3 additions and 3 deletions

View File

@ -101,7 +101,7 @@ static BOOL WINAPI SetFilePointerEx(HANDLE hFile,
* *
* Limited to a reletevly small but useful number of codes * Limited to a reletevly small but useful number of codes
*/ */
static int ntfs_w32error_to_errno(DWORD w32error) static int ntfs_w32error_to_errno(unsigned int w32error)
{ {
Dprintf("win32_w32error_to_errno(%d).\n",w32error); Dprintf("win32_w32error_to_errno(%d).\n",w32error);
switch (w32error) { switch (w32error) {
@ -464,8 +464,8 @@ static BOOL ntfs_device_win32_find_partition(HANDLE handle,DWORD partition_id,
* *
* When fails, fd contents may have not been preserved. * When fails, fd contents may have not been preserved.
*/ */
static __inline__ int ntfs_device_win32_open_partition(int drive_id, static int ntfs_device_win32_open_partition(int drive_id,
DWORD partition_id, win32_fd *fd, int flags) unsigned int partition_id, win32_fd *fd, int flags)
{ {
char drive_name[MAX_PATH]; char drive_name[MAX_PATH];
HANDLE handle; HANDLE handle;