aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/erl_async.c
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/beam/erl_async.c
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/beam/erl_async.c')
-rw-r--r--erts/emulator/beam/erl_async.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/erts/emulator/beam/erl_async.c b/erts/emulator/beam/erl_async.c
index f2a581fdf4..be691317ee 100644
--- a/erts/emulator/beam/erl_async.c
+++ b/erts/emulator/beam/erl_async.c
@@ -390,14 +390,14 @@ int check_async_ready(void)
** async_data data to pass to invoke function
** async_free function for relase async_data in case of failure
*/
-long driver_async(ErlDrvPort ix, unsigned long* key,
+long driver_async(ErlDrvPort ix, unsigned int* key,
void (*async_invoke)(void*), void* async_data,
void (*async_free)(void*))
{
ErlAsync* a = (ErlAsync*) erts_alloc(ERTS_ALC_T_ASYNC, sizeof(ErlAsync));
Port* prt = erts_drvport2port(ix);
long id;
- unsigned long qix;
+ unsigned int qix;
if (!prt)