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 | 18e165558b24d29e7e0ca501842b9236589b012a (patch) | |
| tree | 841678b5dc1aff3aa48701fee33a6ba7be00a72b /Modules/bsddbmodule.c | |
| parent | 44829297348d9121a03fc7df2fac557b583cc7fa (diff) | |
| download | cpython-git-18e165558b24d29e7e0ca501842b9236589b012a.tar.gz | |
Merge ssize_t branch.
Diffstat (limited to 'Modules/bsddbmodule.c')
| -rw-r--r-- | Modules/bsddbmodule.c | 4 | 
1 files changed, 2 insertions, 2 deletions
diff --git a/Modules/bsddbmodule.c b/Modules/bsddbmodule.c index 6bdffde7b2..61c656437e 100644 --- a/Modules/bsddbmodule.c +++ b/Modules/bsddbmodule.c @@ -240,7 +240,7 @@ bsddb_dealloc(bsddbobject *dp)  #define BSDDB_END_SAVE(_dp) Py_END_ALLOW_THREADS  #endif -static int +static Py_ssize_t  bsddb_length(bsddbobject *dp)  {  	check_bsddbobject_open(dp, -1); @@ -374,7 +374,7 @@ bsddb_ass_sub(bsddbobject *dp, PyObject *key, PyObject *value)  }  static PyMappingMethods bsddb_as_mapping = { -	(inquiry)bsddb_length,		/*mp_length*/ +	(lenfunc)bsddb_length,		/*mp_length*/  	(binaryfunc)bsddb_subscript,	/*mp_subscript*/  	(objobjargproc)bsddb_ass_sub,	/*mp_ass_subscript*/  };  | 
