Commits

Stanislav Sedov  committed 85982e3

- Use correct types for fields in the kevent struct. This fixes #3.

Reported by: Stepan Koltsov

  • Participants
  • Parent commits 06b7292

Comments (0)

Files changed (1)

File include/vki/vki-freebsd.h

 // From sys/kevent.h
 //----------------------------------------------------------------------
 struct vki_kevent {
-	vki_uint32_t   ident;
+	vki_uintptr_t  ident;
 	vki_int16_t    filter;
 	vki_uint16_t   flags;
 	vki_uint32_t   fflags;
-	vki_uint32_t   data;
-	vki_uint32_t   udata;
+	vki_intptr_t   data;
+	void           *udata;
 };