aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorEli Zaretskii2005-06-04 20:39:15 +0000
committerEli Zaretskii2005-06-04 20:39:15 +0000
commit6e60256665d21eab02d22b9488d68cfc751f8eec (patch)
tree6baece7afef29bc1da3f543a04116b4c5798e643 /src
parentcce55b8e955d0887b91ee077532388d891d41f10 (diff)
downloademacs-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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/w32.c b/src/w32.c
index cdc41a8c772..8707732fd6c 100644
--- a/src/w32.c
+++ b/src/w32.c
@@ -1273,7 +1273,7 @@ get_emacs_configuration_options (void)
1273void 1273void
1274gettimeofday (struct timeval *tv, struct timezone *tz) 1274gettimeofday (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