summaryrefslogtreecommitdiff
path: root/contrib/pgcrypto/pgp-decrypt.c
diff options
context:
space:
mode:
authorTom Lane <tgl@sss.pgh.pa.us>2005-09-24 19:14:05 +0000
committerTom Lane <tgl@sss.pgh.pa.us>2005-09-24 19:14:05 +0000
commit8a65b820e2ef00d26050ac0d04962abaa91ab7b5 (patch)
tree46b7012c99a03f276d3f75a44b534cd33ff11213 /contrib/pgcrypto/pgp-decrypt.c
parent8889685555e0ae7d5396038be9924ced2d330bd3 (diff)
downloadpostgresql-8a65b820e2ef00d26050ac0d04962abaa91ab7b5.tar.gz
Suppress signed-vs-unsigned-char warnings in contrib.
Diffstat (limited to 'contrib/pgcrypto/pgp-decrypt.c')
-rw-r--r--contrib/pgcrypto/pgp-decrypt.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/pgcrypto/pgp-decrypt.c b/contrib/pgcrypto/pgp-decrypt.c
index 1fc4f4feb0..16ae78200b 100644
--- a/contrib/pgcrypto/pgp-decrypt.c
+++ b/contrib/pgcrypto/pgp-decrypt.c
@@ -26,7 +26,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-decrypt.c,v 1.4 2005/07/18 17:09:01 tgl Exp $
+ * $PostgreSQL: pgsql/contrib/pgcrypto/pgp-decrypt.c,v 1.5 2005/09/24 19:14:04 tgl Exp $
*/
#include "postgres.h"
@@ -792,7 +792,7 @@ parse_literal_data(PGP_Context * ctx, MBuf * dst, PullFilter * pkt)
break;
}
if (res >= 0 && got_cr)
- res = mbuf_append(dst, "\r", 1);
+ res = mbuf_append(dst, (const uint8 *) "\r", 1);
return res;
}