diff options
| author | Tannin <devnull@localhost> | 2015-02-25 18:38:01 +0100 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2015-02-25 18:38:01 +0100 |
| commit | 6479f972dccaabb3afadb570583a4269e8a785e4 (patch) | |
| tree | b36ec1afc65e123b893215a2529bb20c25041adb /src/shared/leaktrace.cpp | |
| parent | e01ab940b0d76bfec8d7037ee56938780a74dc5b (diff) | |
tons of code cleanup and minor fixes to harden the code (mostly suggestions from static code analysis)
Diffstat (limited to 'src/shared/leaktrace.cpp')
| -rw-r--r-- | src/shared/leaktrace.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/leaktrace.cpp b/src/shared/leaktrace.cpp index 0d99b82e..73786c6b 100644 --- a/src/shared/leaktrace.cpp +++ b/src/shared/leaktrace.cpp @@ -34,7 +34,7 @@ static struct __TraceData { iter->second.size(), iter->first.toString().c_str());
printf("Addresses: ");
for (int i = 0; i < (std::min<int>)(5, iter->second.size()); ++i) {
- printf("%p, ", iter->second[i]);
+ printf("%p, ", reinterpret_cast<void*>(iter->second[i]));
}
printf("\n");
}
|
