$NetBSD: patch-af,v 1.1 2006/10/17 23:44:59 wiz Exp $

--- src/target.cpp.orig	2003-03-16 14:38:31.000000000 +0000
+++ src/target.cpp
@@ -186,9 +186,9 @@ void target()
             print(238, row, COLOR_YELLOW, "%20s", "VPB file ID");
             row += 7;
             print(238, row, COLOR_YELLOW, "      %03X-%07X/%02X", 
-                        ((((unsigned int)Game.SightedCharacter) * 7001337) & 0xfff),
-                        (((unsigned int)Game.SightedCharacter) * 1337357) & 0xfffffff,
-                        (((unsigned int)Game.SightedCharacter) * 70741)  & 0xff);
+                        ((((unsigned long)Game.SightedCharacter) * 7001337) & 0xfff),
+                        (((unsigned long)Game.SightedCharacter) * 1337357) & 0xfffffff,
+                        (((unsigned long)Game.SightedCharacter) * 70741)  & 0xff);
 
 
             break;
@@ -217,7 +217,7 @@ void target()
             row += 7;
             print(238, row, COLOR_YELLOW, "%20s", "Net worth");
             row += 7;
-            print(238, row, COLOR_YELLOW, "%17u KC", (((unsigned int)Game.SightedCharacter) * 1337357) % 71937);
+            print(238, row, COLOR_YELLOW, "%17u KC", (((unsigned long)Game.SightedCharacter) * 1337357) % 71937);
             break;
         case 3:
             print(238, row, COLOR_YELLOW, "%20s", "Splat.");
