changeset 63020:92ecd695d7c1

(gettimeofday): Use struct _timeb, not struct timeb. (open_unc_volume): Cast return value of map_w32_filename, to avoid compiler warnings.
author Eli Zaretskii <eliz@gnu.org>
date Sat, 04 Jun 2005 20:39:15 +0000
parents 2d45521f8f6d
children 81475b55bf74
files src/w32.c
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/w32.c	Sat Jun 04 20:25:50 2005 +0000
+++ b/src/w32.c	Sat Jun 04 20:39:15 2005 +0000
@@ -1273,7 +1273,7 @@
 void
 gettimeofday (struct timeval *tv, struct timezone *tz)
 {
-  struct timeb tb;
+  struct _timeb tb;
   _ftime (&tb);
 
   tv->tv_sec = tb.time;
@@ -1777,7 +1777,7 @@
   nr.dwDisplayType = RESOURCEDISPLAYTYPE_SERVER;
   nr.dwUsage = RESOURCEUSAGE_CONTAINER;
   nr.lpLocalName = NULL;
-  nr.lpRemoteName = map_w32_filename (path, NULL);
+  nr.lpRemoteName = (LPSTR)map_w32_filename (path, NULL);
   nr.lpComment = NULL;
   nr.lpProvider = NULL;