Index: obj_text.h =================================================================== --- obj_text.h (revision 30912) +++ obj_text.h (revision 30913) @@ -125,7 +125,7 @@ textlist_foreach(&(layer)->Text, &__it__, text) { #define PCB_TEXT_ALL_LOOP(top) do { \ - pcb_cardinal_t l; \ + rnd_cardinal_t l; \ pcb_layer_t *layer = (top)->Layer; \ for (l = 0; l < ((top)->LayerN > 0 ? (top)->LayerN : PCB->Data->LayerN); l++, layer++) \ { \ @@ -132,7 +132,7 @@ PCB_TEXT_LOOP(layer) #define PCB_TEXT_COPPER_LOOP(top) do { \ - pcb_cardinal_t l; \ + rnd_cardinal_t l; \ pcb_layer_t *layer = (top)->Layer; \ for (l = 0; l < ((top)->LayerN > 0 ? (top)->LayerN : PCB->Data->LayerN); l++, layer++) \ { \ @@ -140,7 +140,7 @@ PCB_TEXT_LOOP(layer) #define PCB_SILK_COPPER_LOOP(top) do { \ - pcb_cardinal_t l; \ + rnd_cardinal_t l; \ pcb_layer_t *layer = (top)->Layer; \ for (l = 0; l < ((top)->LayerN > 0 ? (top)->LayerN : PCB->Data->LayerN); l++, layer++) \ { \ @@ -148,7 +148,7 @@ PCB_TEXT_LOOP(layer) #define PCB_TEXT_VISIBLE_LOOP(board) do { \ - pcb_cardinal_t l; \ + rnd_cardinal_t l; \ pcb_layer_t *layer = (board)->Data->Layer; \ for (l = 0; l < ((board)->Data->LayerN > 0 ? (board)->Data->LayerN : PCB->Data->LayerN); l++, layer++) \ { \