Fix "pNeeded" increment in GetJitManagerList()
authorMaks Naumov <maksqwe1@ukr.net>
Wed, 4 Feb 2015 08:26:41 +0000 (10:26 +0200)
committerMaks Naumov <maksqwe1@ukr.net>
Wed, 4 Feb 2015 08:26:41 +0000 (10:26 +0200)
"++" has a higher priority than "*".

src/debug/daccess/request.cpp

index 49432f8..f1fe926 100644 (file)
@@ -446,7 +446,7 @@ ClrDataAccess::GetJitManagerList(unsigned int count, struct DacpJitManagerInfo m
     {
         *pNeeded = 1;
 #ifdef FEATURE_PREJIT
-        *pNeeded++;
+        (*pNeeded)++;
 #endif
     }