summaryrefslogtreecommitdiffstats
path: root/Objects/dictobject.c
diff options
context:
space:
mode:
authorNeal Norwitz <nnorwitz@gmail.com>2006-02-16 06:21:57 (GMT)
committerNeal Norwitz <nnorwitz@gmail.com>2006-02-16 06:21:57 (GMT)
commit26efe402c2a5dba441dc2feae2f15fea6be452ba (patch)
tree7d083ee4baf14cd990a8dbcfefa9aa7ba9ca5285 /Objects/dictobject.c
parent15231548d20b2a6fcac2830935ec076bed42448f (diff)
downloadcpython-26efe402c2a5dba441dc2feae2f15fea6be452ba.zip
cpython-26efe402c2a5dba441dc2feae2f15fea6be452ba.tar.gz
cpython-26efe402c2a5dba441dc2feae2f15fea6be452ba.tar.bz2
Get rid of compiler warnings (gcc 3.3.4 on x86)
Diffstat (limited to 'Objects/dictobject.c')
-rw-r--r--Objects/dictobject.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Objects/dictobject.c b/Objects/dictobject.c
index bacb705..abc9c8c 100644
--- a/Objects/dictobject.c
+++ b/Objects/dictobject.c
@@ -1149,7 +1149,7 @@ PyDict_MergeFromSeq2(PyObject *d, PyObject *seq2, int override)
PyErr_Format(PyExc_ValueError,
"dictionary update sequence element #%d "
"has length %ld; 2 is required",
- i, n);
+ i, (long)n);
goto Fail;
}