diff options
author | Martin v. Löwis <martin@v.loewis.de> | 2006-02-15 17:27:45 +0000 |
---|---|---|
committer | Martin v. Löwis <martin@v.loewis.de> | 2006-02-15 17:27:45 +0000 |
commit | 26a6348f77faff1083d501950812ea9f68eb9547 (patch) | |
tree | 8aebd3631f3b60d9753cd8271c0ad7c1379af1a2 /Python/pythonrun.c | |
parent | ad4cf65e988f853a3b32a7da30198ce9c6c73c02 (diff) | |
download | cpython-26a6348f77faff1083d501950812ea9f68eb9547.tar.gz |
Merge ssize_t branch.
Diffstat (limited to 'Python/pythonrun.c')
-rw-r--r-- | Python/pythonrun.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/pythonrun.c b/Python/pythonrun.c index 30cb518a65..0b7de4297d 100644 --- a/Python/pythonrun.c +++ b/Python/pythonrun.c @@ -939,7 +939,7 @@ print_error_text(PyObject *f, int offset, const char *text) 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') { |