Index: net/http/mock_gssapi_library_posix.cc |
diff --git a/net/http/mock_gssapi_library_posix.cc b/net/http/mock_gssapi_library_posix.cc |
index 5ae472102c69ab722a0f099d82b6df6ab73f69d6..6d44729e34f035e6127bd0917436f165a1628bd2 100644 |
--- a/net/http/mock_gssapi_library_posix.cc |
+++ b/net/http/mock_gssapi_library_posix.cc |
@@ -7,7 +7,6 @@ |
#include "base/logging.h" |
#include "base/string_util.h" |
#include "base/stringprintf.h" |
-#include "net/third_party/gssapi/gssapi.h" |
#include "testing/gtest/include/gtest/gtest.h" |
namespace net { |
@@ -279,7 +278,7 @@ OM_uint32 MockGSSAPILibrary::import_name( |
// Save the data. |
output->name = BufferToString(input_name_buffer); |
CopyOid(&output->name_type, input_name_type); |
- *output_name = output; |
+ *output_name = reinterpret_cast<gss_name_t>(output); |
return GSS_S_COMPLETE; |
} |