aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/sys.h
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2011-03-21 11:05:45 +0100
committerPatrik Nyblom <[email protected]>2011-03-21 11:05:45 +0100
commitf14ac2ba39d056ae5249d96de96ca1182171b0c5 (patch)
tree34c4e3d95aef51bf058ead21e3eaecfd705ad7aa /erts/emulator/beam/sys.h
parentff6a741679c092312f282bf7db555f238c1e963a (diff)
downloadotp-f14ac2ba39d056ae5249d96de96ca1182171b0c5.tar.gz
otp-f14ac2ba39d056ae5249d96de96ca1182171b0c5.tar.bz2
otp-f14ac2ba39d056ae5249d96de96ca1182171b0c5.zip
Teach win32/sys.c (fd-driver) not to leak readers causing init:restart to fail
Diffstat (limited to 'erts/emulator/beam/sys.h')
-rw-r--r--erts/emulator/beam/sys.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/sys.h b/erts/emulator/beam/sys.h
index ff828ae889..e64c43de6e 100644
--- a/erts/emulator/beam/sys.h
+++ b/erts/emulator/beam/sys.h
@@ -538,8 +538,8 @@ typedef struct preload {
*/
typedef struct _SysDriverOpts {
- int ifd; /* Input file descriptor (fd driver). */
- int ofd; /* Outputfile descriptor (fd driver). */
+ Uint ifd; /* Input file descriptor (fd driver). */
+ Uint ofd; /* Outputfile descriptor (fd driver). */
int packet_bytes; /* Number of bytes in packet header. */
int read_write; /* Read and write bits. */
int use_stdio; /* Use standard I/O: TRUE or FALSE. */