summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorToomas Soome <tsoome@me.com>2018-10-21 15:46:33 +0300
committerToomas Soome <tsoome@me.com>2019-09-30 23:10:21 +0300
commitfe9b11956841aaade2b3d01981d7e372b9b613a5 (patch)
treeb2c6a9d8d27d53bf34a4c721cb0ddc48cf05dfbc
parent457cb919baede78b33c994ab8c7797c848513997 (diff)
downloadillumos-joyent-fe9b11956841aaade2b3d01981d7e372b9b613a5.tar.gz
11728 exacctsys: cast between incompatible function types
Reviewed by: Andy Fiddaman <omnios@citrus-it.co.uk> Approved by: Dan McDonald <danmcd@joyent.com>
-rw-r--r--usr/src/uts/common/syscall/exacctsys.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/usr/src/uts/common/syscall/exacctsys.c b/usr/src/uts/common/syscall/exacctsys.c
index af54737c57..9721c9f4de 100644
--- a/usr/src/uts/common/syscall/exacctsys.c
+++ b/usr/src/uts/common/syscall/exacctsys.c
@@ -24,8 +24,6 @@
* Use is subject to license terms.
*/
-#pragma ident "%Z%%M% %I% %E% SMI"
-
#include <sys/acctctl.h>
#include <sys/cmn_err.h>
#include <sys/cred.h>
@@ -353,7 +351,7 @@ exacct(int code, idtype_t idtype, id_t id, void *buf, size_t bufsize,
static struct sysent exacctsys_sysent = {
6,
SE_NOUNLOAD | SE_ARGC | SE_LRVAL,
- (int (*)())exacct
+ (int (*)())(uintptr_t)exacct
};
static struct modlsys modlsys = {
@@ -367,7 +365,7 @@ static struct modlsys modlsys = {
static struct sysent exacctsys_sysent32 = {
6,
SE_NOUNLOAD | SE_ARGC | SE_32RVAL1,
- (int (*)())exacct
+ (int (*)())(uintptr_t)exacct
};
static struct modlsys modlsys32 = {