diff options
| author | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-28 15:00:23 +0100 |
|---|---|---|
| committer | Tomas Bzatek <tbzatek@users.sourceforge.net> | 2009-11-28 15:00:23 +0100 |
| commit | 013b75b7d655115503397ea4284b776802605080 (patch) | |
| tree | 6b02a4e853c9fe56b96aab89d6962e8ff397007e /unrar/unrar.c | |
| parent | 9382f127ccebdd59917c97c61d008ed0e127cd75 (diff) | |
| download | tuxcmd-modules-013b75b7d655115503397ea4284b776802605080.tar.xz | |
Consolidate boolean data types
Diffstat (limited to 'unrar/unrar.c')
| -rw-r--r-- | unrar/unrar.c | 4 |
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) { |
