Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(669)

Unified Diff: chrome/renderer/renderer_webkitclient_impl.cc

Issue 160288: Assorted fixes for 64-bit. (Closed)
Patch Set: Created 11 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/renderer/renderer_webkitclient_impl.cc
diff --git a/chrome/renderer/renderer_webkitclient_impl.cc b/chrome/renderer/renderer_webkitclient_impl.cc
index f14a4cf266c99073aab2737bb4423c694c2a971c..c086d0df2082e0b3d1a97c9cc42eebdc858d97ac 100644
--- a/chrome/renderer/renderer_webkitclient_impl.cc
+++ b/chrome/renderer/renderer_webkitclient_impl.cc
@@ -51,7 +51,7 @@ bool RendererWebKitClientImpl::getFileSize(const WebString& path,
long long& result) {
if (RenderThread::current()->Send(new ViewHostMsg_GetFileSize(
FilePath(webkit_glue::WebStringToFilePathString(path)),
- &result))) {
+ reinterpret_cast<int64*>(&result)))) {
Evan Martin 2009/07/28 21:15:29 this is scary looking, that you're casting a refer
return result >= 0;
} else {
result = -1;

Powered by Google App Engine
This is Rietveld 408576698