diff options
author | Will Thompson <will.thompson@collabora.co.uk> | 2009-05-01 21:08:01 +0100 |
---|---|---|
committer | Will Thompson <will.thompson@collabora.co.uk> | 2009-05-04 17:44:36 +0100 |
commit | d82da404bf8be2547aae5513645802cd915f8856 (patch) | |
tree | b888a39c7036cd0afc8273d4c09b311e7e5652fa /src/conn-aliasing.c | |
parent | fff3dca60c2091710391d423fff25a0b7dd1b9c1 (diff) |
Fix comments about (const gchar **) cast
We *are* sure. :-)
Diffstat (limited to 'src/conn-aliasing.c')
-rw-r--r-- | src/conn-aliasing.c | 5 |
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; |