acce2e07f8
help and ok claudio@
21 lines
641 B
Plaintext
21 lines
641 B
Plaintext
$OpenBSD: patch-src_dt_password_c,v 1.1 2005/02/28 13:30:07 mbalmer Exp $
|
|
--- src/dt_password.c.orig Mon Nov 3 22:07:57 2003
|
|
+++ src/dt_password.c Tue Feb 15 03:54:03 2005
|
|
@@ -268,14 +268,14 @@ static GByteArray *dt_password_encode_pa
|
|
MD4_CTX MD4context;
|
|
|
|
#if defined(HAVE_ICONV)
|
|
- ICONV_CONST char *in;
|
|
+ const char *in;
|
|
char *out;
|
|
size_t inlen, outlen;
|
|
iconv_t conv;
|
|
|
|
conv = iconv_open("UNICODE", gq_codeset);
|
|
if (conv != (iconv_t) -1) {
|
|
- in = (ICONV_CONST char *) data;
|
|
+ in = (const char *) data;
|
|
inlen = len;
|
|
outlen = len * 2 + 4;
|
|
g_byte_array_set_size(unicode, outlen);
|