Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys/external/bsd/drm2/include/linux cast function pointer ty...
details: https://anonhg.NetBSD.org/src/rev/bbb6e497aae8
branches: trunk
changeset: 464608:bbb6e497aae8
user: christos <christos%NetBSD.org@localhost>
date: Sun Oct 13 22:32:09 2019 +0000
description:
cast function pointer type. there is already an XXX there...
diffstat:
sys/external/bsd/drm2/include/linux/timer.h | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
diffs (18 lines):
diff -r 9a5c5c567cda -r bbb6e497aae8 sys/external/bsd/drm2/include/linux/timer.h
--- a/sys/external/bsd/drm2/include/linux/timer.h Sun Oct 13 22:31:31 2019 +0000
+++ b/sys/external/bsd/drm2/include/linux/timer.h Sun Oct 13 22:32:09 2019 +0000
@@ -1,4 +1,4 @@
-/* $NetBSD: timer.h,v 1.6 2018/08/27 06:16:50 riastradh Exp $ */
+/* $NetBSD: timer.h,v 1.7 2019/10/13 22:32:09 christos Exp $ */
/*-
* Copyright (c) 2013 The NetBSD Foundation, Inc.
@@ -55,7 +55,7 @@
callout_init(&timer->tl_callout, 0);
/* XXX Super-sketchy casts! */
- callout_setfunc(&timer->tl_callout, (void (*)(void *))fn,
+ callout_setfunc(&timer->tl_callout, (void (*)(void *))(void *)fn,
(void *)(uintptr_t)arg);
}
Home |
Main Index |
Thread Index |
Old Index