summaryrefslogtreecommitdiff
path: root/lib/socks_gssapi.c
diff options
context:
space:
mode:
authorYang Tse <yangsita@gmail.com>2011-05-26 15:44:53 +0200
committerYang Tse <yangsita@gmail.com>2011-05-26 15:44:53 +0200
commit3c9ff41a1fef4b03571f5a7f905e5016cae55208 (patch)
treedbdc9b5ca8fccf532a35763a4acc71869e1e3aa3 /lib/socks_gssapi.c
parentc8c8816a97d0214184ee1d4dfaf2775edf28ff53 (diff)
downloadcurl-3c9ff41a1fef4b03571f5a7f905e5016cae55208.tar.gz
compiler warning: fix
Fix compiler warning: conversion may lose significant bits
Diffstat (limited to 'lib/socks_gssapi.c')
-rw-r--r--lib/socks_gssapi.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/lib/socks_gssapi.c b/lib/socks_gssapi.c
index f0d503c91..653306cce 100644
--- a/lib/socks_gssapi.c
+++ b/lib/socks_gssapi.c
@@ -42,8 +42,7 @@
#include "connect.h"
#include "timeval.h"
#include "socks.h"
-
-static gss_ctx_id_t gss_context = GSS_C_NO_CONTEXT;
+#include "warnless.h"
#define _MPRINTF_REPLACE /* use our functions only */
#include <curl/mprintf.h>
@@ -52,6 +51,8 @@ static gss_ctx_id_t gss_context = GSS_C_NO_CONTEXT;
/* The last #include file should be: */
#include "memdebug.h"
+static gss_ctx_id_t gss_context = GSS_C_NO_CONTEXT;
+
/*
* Helper gssapi error functions.
*/