Sat Jun 1 17:18:21 1996 Roland McGrath <roland@delasyd.gnu.ai.mit.edu>
authorroland <roland>
Sun, 2 Jun 1996 18:49:01 +0000 (18:49 +0000)
committerroland <roland>
Sun, 2 Jun 1996 18:49:01 +0000 (18:49 +0000)
* sysdeps/posix/tempname.c (__stdio_gen_tempname): Use __ptr_t instead
of PTR.

sysdeps/posix/tempname.c

index fdddae2..5881feb 100644 (file)
@@ -218,7 +218,7 @@ __stdio_gen_tempname (const char *dir, const char *pfx, int dir_search,
                  errno = save;
                  return NULL;
                }
-             (*streamptr)->__cookie = (PTR) (long int) fd;
+             (*streamptr)->__cookie = (__ptr_t) (long int) fd;
              (*streamptr)->__mode.__write = 1;
              (*streamptr)->__mode.__read = 1;
              (*streamptr)->__mode.__binary = 1;