diff options
author | Jeffrey Stedfast <fejj@novell.com> | 2004-10-02 02:08:30 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-10-02 02:08:30 +0800 |
commit | 8193d1ea904f7ded10d9b2ffca04643e608176c5 (patch) | |
tree | 5a076dbc28ea4e31f5d40cc15e1389fad6948109 /camel/camel-service.c | |
parent | acb88c209ef296564123666cdc18c787a0f91082 (diff) | |
download | gsoc2013-evolution-8193d1ea904f7ded10d9b2ffca04643e608176c5.tar.gz gsoc2013-evolution-8193d1ea904f7ded10d9b2ffca04643e608176c5.tar.zst gsoc2013-evolution-8193d1ea904f7ded10d9b2ffca04643e608176c5.zip |
Avoid assigning a value to the member of a const struct (which newer gcc's
2004-10-01 Jeffrey Stedfast <fejj@novell.com>
* camel-service.c (camel_getaddrinfo): Avoid assigning a value to
the member of a const struct (which newer gcc's apparently break
over) by casting to non-const.
svn path=/trunk/; revision=27449
Diffstat (limited to 'camel/camel-service.c')
-rw-r--r-- | camel/camel-service.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/camel/camel-service.c b/camel/camel-service.c index 171bfe6061..3ec768efa7 100644 --- a/camel/camel-service.c +++ b/camel/camel-service.c @@ -897,7 +897,7 @@ camel_getaddrinfo(const char *name, const char *service, const struct addrinfo * hints = &myhints; } - hints->ai_family = AF_INET; + ((struct addrinfo *) hints)->ai_family = AF_INET; #endif msg = g_malloc0(sizeof(*msg)); |