$NetBSD: patch-ae,v 1.1 2002/05/08 11:32:49 wiz Exp $

--- gpsim/main.cc.orig	Mon Nov 20 07:20:43 2000
+++ gpsim/main.cc
@@ -147,7 +147,7 @@
   poptContext optCon;   /* context for parsing command-line options */
 
 
-  optCon = poptGetContext(NULL, argc, argv, optionsTable, 0);
+  optCon = poptGetContext(NULL, argc, (const char **)argv, optionsTable, 0);
   poptSetOtherOptionHelp(optCon, "[-h] [-p <device> [<hex_file>]] [-c <stc_file>]");
 
 
