|
10 | 10 | * exceed INITIAL_EXPBUFFER_SIZE (currently 256 bytes).
|
11 | 11 | *
|
12 | 12 | * IDENTIFICATION
|
13 |
| - * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.84 2003/10/25 03:48:47 momjian Exp $ |
| 13 | + * $Header: /cvsroot/pgsql/src/interfaces/libpq/fe-auth.c,v 1.85 2003/11/26 15:55:01 petere Exp $ |
14 | 14 | *
|
15 | 15 | *-------------------------------------------------------------------------
|
16 | 16 | */
|
@@ -409,11 +409,11 @@ pg_krb5_sendauth(char *PQerrormsg, int sock, const char *hostname)
|
409 | 409 | #if defined(HAVE_KRB5_ERROR_TEXT_DATA)
|
410 | 410 | snprintf(PQerrormsg,PQERRORMSG_LENGTH,
|
411 | 411 | libpq_gettext("Kerberos 5 authentication rejected: %*s\n"),
|
412 |
| -err_ret->text.length,err_ret->text.data); |
| 412 | +(int)err_ret->text.length,err_ret->text.data); |
413 | 413 | #elif defined(HAVE_KRB5_ERROR_E_DATA)
|
414 | 414 | snprintf(PQerrormsg,PQERRORMSG_LENGTH,
|
415 | 415 | libpq_gettext("Kerberos 5 authentication rejected: %*s\n"),
|
416 |
| -err_ret->e_data->length, |
| 416 | +(int)err_ret->e_data->length, |
417 | 417 | (constchar*)err_ret->e_data->data);
|
418 | 418 | #else
|
419 | 419 | #error "bogus configuration"
|
|