diff options
author | Patrik Nyblom <[email protected]> | 2010-05-05 08:58:53 +0000 |
---|---|---|
committer | Erlang/OTP <[email protected]> | 2010-05-05 15:18:46 +0200 |
commit | 56bb6dd185486f993c944ca0aa08cba571f36522 (patch) | |
tree | 9faa48c554099d634bc9c784507daa98e4630748 /erts/emulator/drivers/common | |
parent | c032d352a8610b47b2e88fd871d5047468240f16 (diff) | |
download | otp-56bb6dd185486f993c944ca0aa08cba571f36522.tar.gz otp-56bb6dd185486f993c944ca0aa08cba571f36522.tar.bz2 otp-56bb6dd185486f993c944ca0aa08cba571f36522.zip |
OTP-8581 Revert prototype of driver_async
Diffstat (limited to 'erts/emulator/drivers/common')
-rw-r--r-- | erts/emulator/drivers/common/efile_drv.c | 4 |
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; |