- Fix a critical bug in the counted worker implementation

svn path=/trunk/; revision=43306
This commit is contained in:
Johannes Anderwald 2009-10-05 19:15:04 +00:00
parent 9114169b5e
commit cf3f78eddf

View file

@ -179,7 +179,7 @@ KsRegisterCountedWorker(
if (NT_SUCCESS(Status)) if (NT_SUCCESS(Status))
{ {
/* get ks worker implementation */ /* get ks worker implementation */
KsWorker = (PKSIWORKER)Worker; KsWorker = *(PKSIWORKER*)Worker;
/* store counted work item */ /* store counted work item */
KsWorker->CountedWorkItem = CountedWorkItem; KsWorker->CountedWorkItem = CountedWorkItem;
} }