summaryrefslogtreecommitdiffstats
path: root/Mac/Modules/qd
diff options
context:
space:
mode:
authorJack Jansen <jack.jansen@cwi.nl>2001-09-05 15:44:37 (GMT)
committerJack Jansen <jack.jansen@cwi.nl>2001-09-05 15:44:37 (GMT)
commit044d95e9f7e0c9d5840c623350df339526f037af (patch)
tree6dbb147886251621682b69a425ce094649027759 /Mac/Modules/qd
parent28341ceb8f4f7f9b8edf5fbca9c9aa03e9606f08 (diff)
downloadcpython-044d95e9f7e0c9d5840c623350df339526f037af.zip
cpython-044d95e9f7e0c9d5840c623350df339526f037af.tar.gz
cpython-044d95e9f7e0c9d5840c623350df339526f037af.tar.bz2
A few more gcc warnings bite the dust.
Diffstat (limited to 'Mac/Modules/qd')
-rw-r--r--Mac/Modules/qd/_Qdmodule.c2
-rw-r--r--Mac/Modules/qd/qdsupport.py2
2 files changed, 2 insertions, 2 deletions
diff --git a/Mac/Modules/qd/_Qdmodule.c b/Mac/Modules/qd/_Qdmodule.c
index 3bbe2c3..d66fcf2 100644
--- a/Mac/Modules/qd/_Qdmodule.c
+++ b/Mac/Modules/qd/_Qdmodule.c
@@ -122,7 +122,7 @@ PyObject *QdRGB_New(RGBColorPtr itself)
return Py_BuildValue("lll", (long)itself->red, (long)itself->green, (long)itself->blue);
}
-QdRGB_Convert(PyObject *v, RGBColorPtr p_itself)
+int QdRGB_Convert(PyObject *v, RGBColorPtr p_itself)
{
long red, green, blue;
diff --git a/Mac/Modules/qd/qdsupport.py b/Mac/Modules/qd/qdsupport.py
index 9c177b6..0c969d7 100644
--- a/Mac/Modules/qd/qdsupport.py
+++ b/Mac/Modules/qd/qdsupport.py
@@ -167,7 +167,7 @@ PyObject *QdRGB_New(RGBColorPtr itself)
return Py_BuildValue("lll", (long)itself->red, (long)itself->green, (long)itself->blue);
}
-QdRGB_Convert(PyObject *v, RGBColorPtr p_itself)
+int QdRGB_Convert(PyObject *v, RGBColorPtr p_itself)
{
long red, green, blue;