GSS warnings

From: Kris Jurka <books(at)ejurka(dot)com>
To: pgsql-patches(at)postgresql(dot)org
Subject: GSS warnings
Date: 2007-09-05 09:49:30
Message-ID: Pine.BSO.4.64.0709050545330.27200@leary.csoft.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-patches


The attached patch fixes the following warnings in src/backend/libpq

auth.c:496: warning: passing argument 2 of 'gss_release_cred' from
incompatible pointer type
pqcomm.c:182: warning: passing argument 2 of 'gss_delete_sec_context' from
incompatible pointer type
pqcomm.c:185: warning: passing argument 2 of 'gss_release_cred' from
incompatible pointer type

Parts of the GSS API want the object while others want pointers to the
object and it looks like this code got it backwards. I haven't tested
these changes, but they look right to me.

Kris Jurka

Attachment Content-Type Size
gss-warn.patch text/plain 1.7 KB

Responses

Browse pgsql-patches by date

  From Date Subject
Next Message Heikki Linnakangas 2007-09-05 10:19:04 Re: Lazy xid assignment V4
Previous Message Tom Lane 2007-09-05 03:49:49 Re: Lazy xid assignment V4