aboutsummaryrefslogtreecommitdiffstats
path: root/erts/emulator/beam/global.h
diff options
context:
space:
mode:
authorRaimo Niskanen <[email protected]>2011-12-07 11:46:43 +0100
committerBjörn Gustavsson <[email protected]>2011-12-09 11:46:25 +0100
commitf8bfec7ff2f5935ca2281f760746ba359454ef15 (patch)
tree717477505b930058ea5da9f336eaa3e18fb1eeca /erts/emulator/beam/global.h
parent14eb7c4345157f71a0f7b0378007ab510698e8f3 (diff)
downloadotp-f8bfec7ff2f5935ca2281f760746ba359454ef15.tar.gz
otp-f8bfec7ff2f5935ca2281f760746ba359454ef15.tar.bz2
otp-f8bfec7ff2f5935ca2281f760746ba359454ef15.zip
erl_driver.h: Enlarge type on return value from call
Diffstat (limited to 'erts/emulator/beam/global.h')
-rw-r--r--erts/emulator/beam/global.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/erts/emulator/beam/global.h b/erts/emulator/beam/global.h
index 3ab7d95525..f1335f600d 100644
--- a/erts/emulator/beam/global.h
+++ b/erts/emulator/beam/global.h
@@ -328,10 +328,10 @@ struct erts_driver_t_ {
ErlDrvSSizeT (*control)(ErlDrvData drv_data, unsigned int command,
char *buf, ErlDrvSizeT len,
char **rbuf, ErlDrvSizeT rlen); /* Might be NULL */
- int (*call)(ErlDrvData drv_data, unsigned int command,
- char *buf, ErlDrvSizeT len,
- char **rbuf, ErlDrvSizeT rlen, /* Might be NULL */
- unsigned int *flags);
+ ErlDrvSSizeT (*call)(ErlDrvData drv_data, unsigned int command,
+ char *buf, ErlDrvSizeT len,
+ char **rbuf, ErlDrvSizeT rlen, /* Might be NULL */
+ unsigned int *flags);
void (*event)(ErlDrvData drv_data, ErlDrvEvent event,
ErlDrvEventData event_data);
void (*ready_input)(ErlDrvData drv_data, ErlDrvEvent event);