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

Unified Diff: runtime/bin/signal_blocker.h

Issue 169893003: Another round of cleanups for http://www.dartbug.com/15922 (Closed) Base URL: http://dart.googlecode.com/svn/branches/bleeding_edge/dart/
Patch Set: Created 6 years, 10 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: runtime/bin/signal_blocker.h
===================================================================
--- runtime/bin/signal_blocker.h (revision 32732)
+++ runtime/bin/signal_blocker.h (working copy)
@@ -56,10 +56,10 @@
#define TEMP_FAILURE_RETRY_BLOCK_SIGNALS(expression) \
({ ThreadSignalBlocker tsb(SIGPROF); \
- int64_t __result; \
+ intptr_t __result; \
do { \
- __result = static_cast<int64_t>(expression); \
- } while (__result == -1L && errno == EINTR); \
+ __result = (expression); \
+ } while ((__result == -1L) && (errno == EINTR)); \
__result; })
#define VOID_TEMP_FAILURE_RETRY_BLOCK_SIGNALS(expression) \
« no previous file with comments | « runtime/bin/process_macos.cc ('k') | runtime/lib/mirrors.cc » ('j') | runtime/vm/snapshot.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698