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

Unified Diff: src/nonsfi/linux/irt_signal_handling.c

Issue 1419373002: Use size_t for loop counter to avoid sign comparison warning (Closed) Base URL: https://chromium.googlesource.com/native_client/src/native_client.git@master
Patch Set: Created 5 years, 2 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: src/nonsfi/linux/irt_signal_handling.c
diff --git a/src/nonsfi/linux/irt_signal_handling.c b/src/nonsfi/linux/irt_signal_handling.c
index deda61260ce6260c8630fa0ed858a810dee8f135..8f3fefd6931614edd2bf947b9ec2483a4bc2bda9 100644
--- a/src/nonsfi/linux/irt_signal_handling.c
+++ b/src/nonsfi/linux/irt_signal_handling.c
@@ -477,7 +477,7 @@ int nacl_exception_clear_flag(void) {
*/
sigset_t *maskptr = (sigset_t *) &mask;
sigemptyset(maskptr);
- for (int a = 0; a < NACL_ARRAY_SIZE(kSignals); a++) {
+ for (size_t a = 0; a < NACL_ARRAY_SIZE(kSignals); a++) {
if (sigaddset(maskptr, kSignals[a]) != 0)
abort();
}
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698