PERFORCE change 94260 for review
John Baldwin
jhb at FreeBSD.org
Wed Mar 29 21:34:16 UTC 2006
http://perforce.freebsd.org/chv.cgi?CH=94260
Change 94260 by jhb at jhb_twclab on 2006/03/29 21:34:12
Fix for LP64.
Affected files ...
.. //depot/projects/smpng/sys/modules/crash2/crash2.c#4 edit
Differences ...
==== //depot/projects/smpng/sys/modules/crash2/crash2.c#4 (text+ko) ====
@@ -270,8 +270,8 @@
mtx_init(&event_mtx, "crash2 event", NULL, MTX_DEF);
cv_init(&event_cv, "crash2");
for (i = 0; i < NTHREADS; i++) {
- error = kthread_create(crash_thread, (void *)i, &kthread[i],
- RFSTOPPED, 0, "crash2: %d", i);
+ error = kthread_create(crash_thread, (void *)(intptr_t)i,
+ &kthread[i], RFSTOPPED, 0, "crash2: %d", i);
if (error) {
unload(NULL);
return (error);
More information about the p4-projects
mailing list