Diff of /BondBall.c [26cac0] .. [1442bb] Maximize Restore

  Switch to side-by-side view

--- a/BondBall.c
+++ b/BondBall.c
@@ -218,8 +218,8 @@
     char* knownFile = image1known ? ms->file1 : ms->file2;
     //char* unknownFile = image1known ? ms->file2 : ms->file1;
 
-    Position* knownPos = HashTable_GetItem(self->positions, knownFile);
-    ImageMatchModel* fit = ms->bestMatchFit;
+    Position* knownPos = (Position*) HashTable_GetItem(self->positions, knownFile);
+    ImageMatchModel* fit = (ImageMatchModel*) ms->bestMatchFit;
 
     /*
       double centerDegree = (fit.CenterAngle / (2.0 * M_PI)) * 360.0;
@@ -328,7 +328,7 @@
     int xs = 0;
     int i;
     for(i=0; i<ArrayList_Count(self->firstRow); i++) {
-	char* filename = ArrayList_GetItem(self->firstRow, i);
+	char* filename = (char *) ArrayList_GetItem(self->firstRow, i);
 	double yawCur = xs * self->yawStep;
 
 	// Roughly align in center for non 360 degree panoramas.
@@ -359,7 +359,7 @@
 
     int i;
     for(i=0; i<ArrayList_Count(keys); i++) {
-	KeypointN* kp = ArrayList_GetItem(keys, i);
+	KeypointN* kp = (KeypointN*) ArrayList_GetItem(keys, i);
 	xAccum += kp->x;
     }