diff options
| author | Eli Zaretskii | 2005-06-04 20:39:15 +0000 |
|---|---|---|
| committer | Eli Zaretskii | 2005-06-04 20:39:15 +0000 |
| commit | 6e60256665d21eab02d22b9488d68cfc751f8eec (patch) | |
| tree | 6baece7afef29bc1da3f543a04116b4c5798e643 /src | |
| parent | cce55b8e955d0887b91ee077532388d891d41f10 (diff) | |
| download | emacs-6e60256665d21eab02d22b9488d68cfc751f8eec.tar.gz emacs-6e60256665d21eab02d22b9488d68cfc751f8eec.zip | |
(gettimeofday): Use struct _timeb, not struct timeb.
(open_unc_volume): Cast return value of map_w32_filename, to avoid
compiler warnings.
Diffstat (limited to 'src')
| -rw-r--r-- | src/w32.c | 4 |
1 files changed, 2 insertions, 2 deletions
| @@ -1273,7 +1273,7 @@ get_emacs_configuration_options (void) | |||
| 1273 | void | 1273 | void |
| 1274 | gettimeofday (struct timeval *tv, struct timezone *tz) | 1274 | gettimeofday (struct timeval *tv, struct timezone *tz) |
| 1275 | { | 1275 | { |
| 1276 | struct timeb tb; | 1276 | struct _timeb tb; |
| 1277 | _ftime (&tb); | 1277 | _ftime (&tb); |
| 1278 | 1278 | ||
| 1279 | tv->tv_sec = tb.time; | 1279 | tv->tv_sec = tb.time; |
| @@ -1777,7 +1777,7 @@ open_unc_volume (const char *path) | |||
| 1777 | nr.dwDisplayType = RESOURCEDISPLAYTYPE_SERVER; | 1777 | nr.dwDisplayType = RESOURCEDISPLAYTYPE_SERVER; |
| 1778 | nr.dwUsage = RESOURCEUSAGE_CONTAINER; | 1778 | nr.dwUsage = RESOURCEUSAGE_CONTAINER; |
| 1779 | nr.lpLocalName = NULL; | 1779 | nr.lpLocalName = NULL; |
| 1780 | nr.lpRemoteName = map_w32_filename (path, NULL); | 1780 | nr.lpRemoteName = (LPSTR)map_w32_filename (path, NULL); |
| 1781 | nr.lpComment = NULL; | 1781 | nr.lpComment = NULL; |
| 1782 | nr.lpProvider = NULL; | 1782 | nr.lpProvider = NULL; |
| 1783 | 1783 | ||