Fix a couple of warnings
diff --git a/Modules/cjkcodecs/cjkcodecs.h b/Modules/cjkcodecs/cjkcodecs.h
index 9449c1f..3ec24cb 100644
--- a/Modules/cjkcodecs/cjkcodecs.h
+++ b/Modules/cjkcodecs/cjkcodecs.h
@@ -266,7 +266,7 @@
 				"encoding name must be a string.");
 		return NULL;
 	}
-	enc = PyUnicode_AsString(encoding, NULL);
+	enc = PyUnicode_AsString(encoding);
 	if (enc == NULL)
 		return NULL;
 
diff --git a/Python/import.c b/Python/import.c
index 72138c2..24eeada 100644
--- a/Python/import.c
+++ b/Python/import.c
@@ -2366,7 +2366,7 @@
 				"reload() argument must be module");
 		return NULL;
 	}
-	name = PyModule_GetName(m);
+	name = (char*)PyModule_GetName(m);
 	if (name == NULL)
 		return NULL;
 	if (m != PyDict_GetItemString(modules, name)) {