diff 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
line wrap: on
line diff
--- a/Python/pythonrun.c	Wed Feb 15 06:55:57 2006 +0000
+++ b/Python/pythonrun.c	Wed Feb 15 17:27:45 2006 +0000
@@ -939,7 +939,7 @@
 			nl = strchr(text, '\n');
 			if (nl == NULL || nl-text >= offset)
 				break;
-			offset -= (nl+1-text);
+			offset -= (int)(nl+1-text);
 			text = nl+1;
 		}
 		while (*text == ' ' || *text == '\t') {