Index: trunk/psModules/src/objects/pmFootprintIDs.c
===================================================================
--- trunk/psModules/src/objects/pmFootprintIDs.c	(revision 20937)
+++ trunk/psModules/src/objects/pmFootprintIDs.c	(revision 27672)
@@ -32,5 +32,5 @@
    const int row0 = fp->region.y0;
 
-   for (int j = 0; j < fp->spans->n; j++) {
+   for (int j = 0; j < fp->nspans; j++) {
        const pmSpan *span = fp->spans->data[j];
        psS32 *imgRow = idImage->data.S32[span->y - row0];
