diff options
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)); |