fixed a warning on SunOS
authorAndrew Tridgell <tridge@samba.org>
Wed, 7 Oct 1998 10:49:27 +0000 (10:49 +0000)
committerAndrew Tridgell <tridge@samba.org>
Wed, 7 Oct 1998 10:49:27 +0000 (10:49 +0000)
source/smbwrapper/smbw_dir.c

index 37926b04076db7b1659d796bf4556fc6b3806c6e..74b58a7d3b917a30236fa188f7fcce46ff102ff5 100644 (file)
@@ -554,7 +554,7 @@ char *smbw_getcwd(char *buf, size_t size)
        smbw_init();
 
        if (smbw_busy) {
-               return real_getcwd(buf, size);
+               return (char *)real_getcwd(buf, size);
        }
 
        smbw_busy++;