diff options
author | Patrik Nyblom <[email protected]> | 2010-03-12 16:09:26 +0100 |
---|---|---|
committer | Patrik Nyblom <[email protected]> | 2010-03-12 16:09:26 +0100 |
commit | 24095d93fb28bdd60abe771a426e39c6ff0f72c7 (patch) | |
tree | 39db453548450175fe1dcd3a78642c496b637285 /erts/emulator/beam | |
parent | 58bf309625bb2fc99a7689d3ce2dcb6de2a3a04c (diff) | |
download | otp-24095d93fb28bdd60abe771a426e39c6ff0f72c7.tar.gz otp-24095d93fb28bdd60abe771a426e39c6ff0f72c7.tar.bz2 otp-24095d93fb28bdd60abe771a426e39c6ff0f72c7.zip |
Teach testcase in driver_suite the new prototype for driver_async
The testcase core dunmped. Also made sure the key could actually store
long integers in driver_async (which is more of a cosmetic change).
Diffstat (limited to 'erts/emulator/beam')
-rw-r--r-- | erts/emulator/beam/erl_async.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/erts/emulator/beam/erl_async.c b/erts/emulator/beam/erl_async.c index ef9644c3d1..05b7d6a4fa 100644 --- a/erts/emulator/beam/erl_async.c +++ b/erts/emulator/beam/erl_async.c @@ -397,7 +397,7 @@ long driver_async(ErlDrvPort ix, unsigned long* key, ErlAsync* a = (ErlAsync*) erts_alloc(ERTS_ALC_T_ASYNC, sizeof(ErlAsync)); Port* prt = erts_drvport2port(ix); long id; - unsigned int qix; + unsigned long qix; if (!prt) |