summaryrefslogtreecommitdiff
path: root/unrar/unrar.c
diff options
context:
space:
mode:
Diffstat (limited to 'unrar/unrar.c')
-rw-r--r--unrar/unrar.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unrar/unrar.c b/unrar/unrar.c
index 61ce4c4..f24aca5 100644
--- a/unrar/unrar.c
+++ b/unrar/unrar.c
@@ -239,7 +239,7 @@ unrar_callback (UINT msg, LONG UserData, LONG P1, LONG P2)
// long int res = globs->extract_callback_func((u_int64_t)P1, (u_int64_t)((u_int64_t)P1 + (u_int64_t)P2), globs->extract_callback_data);
globs->extract_done += P2;
- int res = globs->callback_progress(globs->extract_done, globs->extract_file_size, globs->callback_data);
+ gboolean res = globs->callback_progress(globs->extract_done, globs->extract_file_size, globs->callback_data);
// fprintf(stderr, " (II) unrar_callback: res = %d \n", res);
if (! res ) {
@@ -255,7 +255,7 @@ unrar_callback (UINT msg, LONG UserData, LONG P1, LONG P2)
fprintf (stderr, " (II) unrar_callback: UCM_NEEDPASSWORD message, P1 = %ld, P2 = %ld, (char*)P1 = '%s', maxlen = %ld \n", P1, P2, (char*)P1, P2);
char *passwd = NULL;
- int res = FALSE;
+ gboolean res = FALSE;
globs->failed_passwd_callback = TRUE;
if (globs->callback_ask_password) {