Ignore:
Timestamp:
Jun 19, 2013 6:47:43 AM (11 years ago)
Author:
riza
Message:

Re #1680: Add initial support for Win64

File:
1 edited

Legend:

Unmodified
Added
Removed
  • pjproject/trunk/pjlib/src/pj/file_io_win32.c

    r3553 r4537  
    125125    DWORD bytesWritten; 
    126126 
    127     rc = WriteFile(fd, data, *size, &bytesWritten, NULL); 
     127    rc = WriteFile(fd, data, (DWORD)*size, &bytesWritten, NULL); 
    128128    if (!rc) { 
    129129        *size = -1; 
     
    142142    DWORD bytesRead; 
    143143 
    144     rc = ReadFile(fd, data, *size, &bytesRead, NULL); 
     144    rc = ReadFile(fd, data, (DWORD)*size, &bytesRead, NULL); 
    145145    if (!rc) { 
    146146        *size = -1; 
Note: See TracChangeset for help on using the changeset viewer.