* hookapi.cc (find_first_notloaded_dll): Fix a compiler warning.
This commit is contained in:
parent
acb3c3e564
commit
e928291c63
@ -1,3 +1,7 @@
|
||||
2012-03-09 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* hookapi.cc (find_first_notloaded_dll): Fix a compiler warning.
|
||||
|
||||
2012-03-09 Corinna Vinschen <corinna@vinschen.de>
|
||||
|
||||
* hookapi.cc (rvadelta): Add parameter to return maximum available
|
||||
|
@ -226,7 +226,7 @@ find_first_notloaded_dll (path_conv& pc)
|
||||
importRVA -= delta;
|
||||
|
||||
DWORD offset = 0;
|
||||
char *map;
|
||||
char *map = NULL;
|
||||
if (importRVA + importRVAMaxSize > wincap.allocation_granularity ())
|
||||
{
|
||||
offset = rounddown (importRVA, wincap.allocation_granularity ());
|
||||
|
Loading…
Reference in New Issue
Block a user