Skip to content

Commit 06cf748

Browse files
committed
solaris: u_int to unsigned int
Solaris needs __EXTENSION__ defined for the former. Just avoid the situation. Signed-off-by: Rosen Penev <rosenp@gmail.com>
1 parent ddd7162 commit 06cf748

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

src/common/kevent.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,7 @@ kevent_dump(const struct kevent *kev)
145145

146146
snprintf((char *) buf, sizeof(buf),
147147
"{ ident=%i, filter=%s, %s, %s, data=%d, udata=%p }",
148-
(u_int) kev->ident,
148+
(unsigned int) kev->ident,
149149
kevent_filter_dump(kev),
150150
kevent_flags_dump(kev),
151151
kevent_fflags_dump(kev),

src/solaris/user.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ int
5555
evfilt_user_knote_create(struct filter *filt UNUSED, struct knote *kn UNUSED)
5656
{
5757
#if TODO
58-
u_int ffctrl;
58+
unsigned int ffctrl;
5959

6060
//determine if EV_ADD + NOTE_TRIGGER in the same kevent will cause a trigger */
6161
if ((!(dst->kev.flags & EV_DISABLE)) && src->fflags & NOTE_TRIGGER) {

0 commit comments

Comments
 (0)