- Timestamp:
- Mar 9, 2006 10:21:30 AM (19 years ago)
- Location:
- pjproject/trunk/pjlib
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
pjproject/trunk/pjlib/build/pjlib.dsp
r126 r313 266 266 # Begin Source File 267 267 268 SOURCE=..\src\pj\os_time_ ansi.c268 SOURCE=..\src\pj\os_time_win32.c 269 269 # End Source File 270 270 # Begin Source File -
pjproject/trunk/pjlib/src/pj/os_time_win32.c
r125 r313 104 104 105 105 pj_memset(&st, 0, sizeof(st)); 106 st.wYear = pt->year;107 st.wMonth = pt->mon + 1;108 st.wDay = pt->day;109 st.wHour = pt->hour;110 st.wMinute = pt->min;111 st.wSecond = pt->sec;112 st.wMilliseconds = pt->msec;106 st.wYear = (pj_uint16_t) pt->year; 107 st.wMonth = (pj_uint16_t) (pt->mon + 1); 108 st.wDay = (pj_uint16_t) pt->day; 109 st.wHour = (pj_uint16_t) pt->hour; 110 st.wMinute = (pj_uint16_t) pt->min; 111 st.wSecond = (pj_uint16_t) pt->sec; 112 st.wMilliseconds = (pj_uint16_t) pt->msec; 113 113 114 114 SystemTimeToFileTime(&st, &ft);
Note: See TracChangeset
for help on using the changeset viewer.