comparison Python/pythonrun.c @ 36501:7fdc639bc5b4 legacy-trunk

Merge ssize_t branch.
author Martin v. Löwis <martin@v.loewis.de>
date Wed, 15 Feb 2006 17:27:45 +0000
parents 1ff4790b7605
children 3c0b26113df6
comparison
equal deleted inserted replaced
36499:35de8bccfd0e 36501:7fdc639bc5b4
937 offset--; 937 offset--;
938 for (;;) { 938 for (;;) {
939 nl = strchr(text, '\n'); 939 nl = strchr(text, '\n');
940 if (nl == NULL || nl-text >= offset) 940 if (nl == NULL || nl-text >= offset)
941 break; 941 break;
942 offset -= (nl+1-text); 942 offset -= (int)(nl+1-text);
943 text = nl+1; 943 text = nl+1;
944 } 944 }
945 while (*text == ' ' || *text == '\t') { 945 while (*text == ' ' || *text == '\t') {
946 text++; 946 text++;
947 offset--; 947 offset--;