Skip to content

Commit 8a3eb51

Browse files
author
Sascha Schumann
committed
Replace ssize_t with long, as Win32 lacks proper support for that type.
1 parent 679f794 commit 8a3eb51

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

ext/session/mod_files.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -246,7 +246,7 @@ PS_CLOSE_FUNC(files)
246246

247247
PS_READ_FUNC(files)
248248
{
249-
ssize_t n;
249+
long n;
250250
struct stat sbuf;
251251
PS_FILES_DATA;
252252

@@ -276,7 +276,7 @@ PS_READ_FUNC(files)
276276

277277
PS_WRITE_FUNC(files)
278278
{
279-
ssize_t n;
279+
long n;
280280
PS_FILES_DATA;
281281

282282
ps_files_open(data, key);

0 commit comments

Comments
 (0)