From: Michael Rohleder <mike at rohleder.de>
Subject: Release Goal: Security Hardening Build Flags
 The flags -Wformat -Wformat-security -Werror=format-security
 lead to various compiler errors, which makes the package FTBFS.
Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=643455


--- a/bcreate.c
+++ b/bcreate.c
@@ -178,20 +178,13 @@
 extern char file[10];
 extern char row[12];
 
-int addmove(char *move)
+int addmove(unsigned char *move)
 { static tmove m[256];
   tmove * mf;
   static int n;
-  int i;
-  int p=PAWN+Color;
-  for(i=2;i!=7;i++) if(piece[i]==move[0]) p=16*i+Color;
-  if( move[0]=='O' )
-  { p=KING+Color;
-    if(move[3]=='-') { if(Color==WHITE){} }
-  }
 
   generate_legal_moves( m, &n, checktest(Color) );
-  if( (mf=sandex(move,m,n)) != NULL )
+  if( (mf=sandex((char*)move,m,n)) != NULL )
   {
     if( Color==WHITE )
     { if(wpoints)
