--- flaim/src/kybuild.cpp	2008-02-15 20:02:22.000000000 +0000
+++ flaim/src/kybuild.cpp	2008-02-15 20:02:50.000000000 +0000
@@ -533,8 +533,8 @@
 				if (pIxd->uiFlags & IXD_OFFLINE)
 				{
 					if (uiContainerNum > pIxd->uiLastContainerIndexed ||
-						 uiContainerNum == pIxd->uiLastContainerIndexed &&
-						 uiDrn > pIxd->uiLastDrnIndexed)
+					    (uiContainerNum == pIxd->uiLastContainerIndexed &&
+					    uiDrn > pIxd->uiLastDrnIndexed))
 					{
 						continue;
 					}
--- flaim/ftk/src/ftk.h	2006-10-12 23:56:32.000000000 +0100
+++ flaim/ftk/src/ftk.h	2008-02-15 21:00:17.000000000 +0000
@@ -3687,7 +3687,7 @@
 	} F_TMSTAMP;
 
 	#define f_timeIsLeapYear(year) \
-		((((year) & 0x03) == 0) && (((year) % 100) != 0) || (((year) % 400) == 0))
+(((((year) & 0x03) == 0) && (((year) % 100) != 0)) || (((year) % 400) == 0))
 
 	void f_timeGetSeconds(
 		FLMUINT	*		puiSeconds);