From c30aaa3a1ad3bead7ea7c629efa2133cdc90c021 Mon Sep 17 00:00:00 2001 From: Sears Russell Date: Thu, 7 Jan 2010 21:50:17 +0000 Subject: [PATCH] fix compiler warning; -1 is not comparable to entry->type --- stasis/constants.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stasis/constants.h b/stasis/constants.h index 5e703ce..819207c 100644 --- a/stasis/constants.h +++ b/stasis/constants.h @@ -114,7 +114,7 @@ terms specified in this license. /** Operation types */ -#define OPERATION_INVALID (-1) +#define OPERATION_INVALID (UCHAR_MAX) #define OPERATION_SET 0 #define OPERATION_SET_INVERSE 1