From bd3b16ee7b246d2f2ed9e0c5819f20fb50bff515 Mon Sep 17 00:00:00 2001 From: Ingo Weinhold Date: Mon, 28 Feb 2005 00:21:59 +0000 Subject: [PATCH] Fixed warning. git-svn-id: file:///srv/svn/repos/haiku/trunk/current@11501 a95241bf-73f2-0310-859d-f6bbb57e9c96 --- src/kernel/libroot/os/debug.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kernel/libroot/os/debug.c b/src/kernel/libroot/os/debug.c index 2b916961d4..d309a0a340 100644 --- a/src/kernel/libroot/os/debug.c +++ b/src/kernel/libroot/os/debug.c @@ -91,7 +91,7 @@ get_why_stopped_string(debug_why_stopped whyStopped, char *buffer, if (!buffer || bufferSize <= 0) return; - if (whyStopped >= 0 && whyStopped < sDebugWhyStringCount) + if ((int32)whyStopped >= 0 && (int32)whyStopped < sDebugWhyStringCount) strlcpy(buffer, sDebugWhyStrings[whyStopped], bufferSize); else snprintf(buffer, bufferSize, "Unknown reason %ld", (int32)whyStopped);