Authors: Andreas Mohr <amohr@codeweavers.com>, Dimitrie O. Paun <dimi@cs.toronto.edu>, Patrik Stridvall <ps@leissner.se>
Various warning fixes.

diff --git a/misc/error.c b/misc/error.c
index 216417d..03c581a 100644
--- a/misc/error.c
+++ b/misc/error.c
@@ -97,11 +97,11 @@
 static const char *GetErrorString(UINT16 uErr) 
 {
   static char buffer[80];
-  int i;
+  unsigned int n;
 
-  for (i = 0; i < ErrorStringCount; i++) {
-    if (uErr == ErrorStrings[i].constant)
-      return ErrorStrings[i].name;
+  for (n = 0; n < ErrorStringCount; n++) {
+    if (uErr == ErrorStrings[n].constant)
+      return ErrorStrings[n].name;
   }
 
   sprintf(buffer, "%x", uErr);
@@ -122,11 +122,11 @@
 		buffer[0] = '\0';
 
 	{
-		int i;
+		unsigned int n;
 
-		for (i = 0; i < ParamErrorStringCount; i++) {
-			if (uErr == ParamErrorStrings[i].constant) {
-				strcat(buffer, ParamErrorStrings[i].name);
+		for (n = 0; n < ParamErrorStringCount; n++) {
+			if (uErr == ParamErrorStrings[n].constant) {
+				strcat(buffer, ParamErrorStrings[n].name);
 				return buffer;
 			}
 		}