Mercurial > dovecot > core-2.2
changeset 2644:6ffc83f8b91e HEAD
type fixes
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Mon, 20 Sep 2004 23:48:31 +0300 |
parents | 664e9001183e |
children | 6285910d68a5 |
files | src/auth/mech.c |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/src/auth/mech.c Mon Sep 20 23:45:58 2004 +0300 +++ b/src/auth/mech.c Mon Sep 20 23:48:31 2004 +0300 @@ -194,8 +194,8 @@ { memset(reply, 0, sizeof(*reply)); - reply->username_idx = (size_t)-1; - reply->reply_idx = (size_t)-1; + reply->username_idx = (uint32_t)-1; + reply->reply_idx = (uint32_t)-1; } void *mech_auth_success(struct auth_client_request_reply *reply, @@ -210,7 +210,7 @@ buffer_append(buf, auth_request->user, strlen(auth_request->user)+1); if (data_size == 0) - reply->reply_idx = (size_t)-1; + reply->reply_idx = (uint32_t)-1; else { reply->reply_idx = buffer_get_used_size(buf); buffer_append(buf, data, data_size);