aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/drivers
diff options
context:
space:
mode:
authorPatrik Nyblom <[email protected]>2010-05-05 08:58:53 +0000
committerErlang/OTP <[email protected]>2010-05-05 15:18:46 +0200
commit56bb6dd185486f993c944ca0aa08cba571f36522 (patch)
tree9faa48c554099d634bc9c784507daa98e4630748 /erts/emulator/drivers
parentc032d352a8610b47b2e88fd871d5047468240f16 (diff)
downloadotp-56bb6dd185486f993c944ca0aa08cba571f36522.tar.gz
otp-56bb6dd185486f993c944ca0aa08cba571f36522.tar.bz2
otp-56bb6dd185486f993c944ca0aa08cba571f36522.zip
OTP-8581 Revert prototype of driver_async
Diffstat (limited to 'erts/emulator/drivers')
-rw-r--r--erts/emulator/drivers/common/efile_drv.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/drivers/common/efile_drv.c b/erts/emulator/drivers/common/efile_drv.c
index cc4421b49c..d2b916000e 100644
--- a/erts/emulator/drivers/common/efile_drv.c
+++ b/erts/emulator/drivers/common/efile_drv.c
@@ -198,7 +198,7 @@ struct t_data;
typedef struct {
SWord fd;
ErlDrvPort port;
- unsigned long key; /* Async queue key */
+ unsigned int key; /* Async queue key */
unsigned flags; /* Original flags from FILE_OPEN. */
void (*invoke)(void *);
struct t_data *d;
@@ -605,7 +605,7 @@ file_start(ErlDrvPort port, char* command)
}
desc->fd = FILE_FD_INVALID;
desc->port = port;
- desc->key = (unsigned long) (UWord) port;
+ desc->key = (unsigned int) (UWord) port;
desc->flags = 0;
desc->invoke = NULL;
desc->d = NULL;