Fix a C++ warning
authorVolker Lendecke <vl@samba.org>
Sat, 23 Feb 2008 09:43:58 +0000 (10:43 +0100)
committerVolker Lendecke <vl@samba.org>
Sat, 23 Feb 2008 10:04:13 +0000 (11:04 +0100)
source/nsswitch/libwbclient/wbc_pam.c

index 9b8a913a57be41cebe1d796b4e06f446ebd1abde..1164ab173a50e47e1030c2f08ebbd3331da968be 100644 (file)
@@ -136,7 +136,7 @@ static wbcErr wbc_create_auth_info(TALLOC_CTX *mem_ctx,
                     0);
        sn++;
 
-       p = resp->extra_data.data;
+       p = (char *)resp->extra_data.data;
        if (!p) {
                wbc_status = WBC_INVALID_RESPONSE;
                BAIL_ON_WBC_ERROR(wbc_status);