$OpenBSD: patch-src_preprocessors_spp_frag2_c,v 1.3 2004/04/12 14:58:55 sturm Exp $
--- src/preprocessors/spp_frag2.c.orig	2004-04-12 16:04:16.000000000 +0200
+++ src/preprocessors/spp_frag2.c	2004-04-12 16:05:18.000000000 +0200
@@ -1327,7 +1327,7 @@ int PruneFragCache(FragTracker *cft, u_i
 
                 ft = (FragTracker *) ubi_btNext((ubi_btNodePtr)ft);
 
-                if ((int)savft != (int)cft && ubi_trCount(FragRootPtr) > 1)
+                if ((long)savft != (long)cft && (long)ubi_trCount(FragRootPtr) > 1)
                 {
                     DEBUG_WRAP(DebugMessage(DEBUG_FRAG2, "Pruning stale fragment\n"););
                     ZapFrag(savft);
@@ -1358,7 +1358,7 @@ int PruneFragCache(FragTracker *cft, u_i
              * pretty stale anyway
              */
             ft = (FragTracker *) ubi_btLeafNode((ubi_btNodePtr) FragRootPtr);
-            if((int)ft != (int)cft)
+            if((long)ft != (long)cft)
             {
                 ZapFrag(ft);
                 pc.frag_incomp++;
