Change back array index call to the right form..

This commit is contained in:
alexhudson
2009-07-19 22:01:26 +00:00
parent ea708940e9
commit 94912df75c
+1 -1
View File
@@ -1117,7 +1117,7 @@ GenerateInstancesForChunk (BongoCalInstance *inst,
for (i = 0; i < occs->len; i++) {
/* Convert each CalObjTime into a start & end time, and
check it is within the bounds of the event & interval. */
occ = g_array_index(occs, CalObjTime *, i);
occ = &g_array_index(occs, CalObjTime, i);
DPRINT ("Checking occurrence: %s\n",
CalObjTimeToString (occ));