Missed a paren.

llvm-svn: 84421
This commit is contained in:
Benjamin Kramer 2009-10-18 16:20:58 +00:00
parent 6bd6d50b42
commit 49ce64eb88
1 changed files with 1 additions and 1 deletions

View File

@ -300,7 +300,7 @@ const llvm::sys::Path& CIndexer::getClangPath() {
#ifdef LLVM_ON_WIN32
MEMORY_BASIC_INFORMATION mbi;
char path[MAX_PATH];
VirtualQuery(void *)(uintptr_t)clang_createTranslationUnit, &mbi,
VirtualQuery((void *)(uintptr_t)clang_createTranslationUnit, &mbi,
sizeof(mbi));
GetModuleFileNameA((HINSTANCE)mbi.AllocationBase, path, MAX_PATH);