summaryrefslogtreecommitdiff
path: root/src/conn-aliasing.c
diff options
context:
space:
mode:
authorWill Thompson <will.thompson@collabora.co.uk>2009-05-01 21:08:01 +0100
committerWill Thompson <will.thompson@collabora.co.uk>2009-05-04 17:44:36 +0100
commitd82da404bf8be2547aae5513645802cd915f8856 (patch)
treeb888a39c7036cd0afc8273d4c09b311e7e5652fa /src/conn-aliasing.c
parentfff3dca60c2091710391d423fff25a0b7dd1b9c1 (diff)
Fix comments about (const gchar **) cast
We *are* sure. :-)
Diffstat (limited to 'src/conn-aliasing.c')
-rw-r--r--src/conn-aliasing.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/conn-aliasing.c b/src/conn-aliasing.c
index 1cf3cc989..8d02a0dd9 100644
--- a/src/conn-aliasing.c
+++ b/src/conn-aliasing.c
@@ -150,8 +150,9 @@ aliases_request_try_return (AliasesRequest *request)
if (request->pending_vcard_requests == 0 &&
request->pending_pep_requests == 0)
{
- /* FIXME: I'm not entirely sure why gcc warns without this cast from
- * (gchar **) to (const gchar **) */
+ /* Cast to (const gchar **) necessary because no-one understands 'const'
+ * in C.
+ */
tp_svc_connection_interface_aliasing_return_from_request_aliases (
request->request_call, (const gchar **)request->aliases);
return TRUE;