--- a/APSCpp/APSCpp_main.cpp
+++ b/APSCpp/APSCpp_main.cpp
@@ -433,7 +433,7 @@
 	
 	int imageIndex = 0;
 	HashTable* imageNameTab = HashTable_new0 (NULL, NULL);
-	ArrayList* resolutions = ArrayList_new0 (Resolution_delete);
+	ArrayList* resolutions = ArrayList_new0 ( (void *) Resolution_delete);
 	int i;
 	for(i=0; i<ArrayList_Count(mm->keySets); i++) {
 		KeypointXMLList* kx = (KeypointXMLList*) ArrayList_GetItem(mm->keySets, i);
@@ -764,7 +764,7 @@
 		projectfile = argv[optionCount + 1];
 		WriteLine("Reading project file %s", projectfile );
 	// enable ++ mode by creating DIlist
-		DIlist = ArrayList_new0( DIinfo_delete );
+		DIlist = ArrayList_new0( (void *) DIinfo_delete );
 	// read the proect file image info into DIlist, or die
 		if( LoadProjectImages( argv[optionCount + 1], DIlist ) ==0 ){
 		  WriteLine ("Error reading project file.");
@@ -772,7 +772,7 @@
 		}
 	} else if( globFmt >= 0 && globFov > 0 ){
 	// enable ++ mode 
-		DIlist = ArrayList_new0( DIinfo_delete );
+		DIlist = ArrayList_new0( (void *) DIinfo_delete );
 	}
 
 	if( DIlist ) WriteLine("  Stereographic projection enabled.");
@@ -900,3 +900,4 @@
 	return 0;
 }
 
+