[pan] Fix compiler warning
- From: Dominique Dumont <ddumont src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pan] Fix compiler warning
- Date: Sun, 5 Sep 2021 09:34:15 +0000 (UTC)
commit 0c1b7bdcfce3daacb76b080cc04c0b651a953668
Author: Olaf Seibert <rhialto falu nl>
Date: Thu Feb 13 22:12:44 2020 +0100
Fix compiler warning
and take out a change that leaked in unintentionally.
uulib/uudeview.h | 2 +-
uulib/uulib.c | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/uulib/uudeview.h b/uulib/uudeview.h
index 6d0c6f6..16ad363 100644
--- a/uulib/uudeview.h
+++ b/uulib/uudeview.h
@@ -227,7 +227,7 @@ int UUEXPORT UUEncodeMulti _ANSI_ARGS_((FILE *, FILE *,
int UUEXPORT UUEncodePartial _ANSI_ARGS_((FILE *, FILE *,
char *, int,
char *, char *,
- int, int, long, uint32_t*));
+ int, int, long, unsigned long*));
int UUEXPORT UUEncodePartial_byFSize _ANSI_ARGS_((FILE *, FILE *,
char *, int,
char *, char *,
diff --git a/uulib/uulib.c b/uulib/uulib.c
index 4b7f845..bef1cc4 100644
--- a/uulib/uulib.c
+++ b/uulib/uulib.c
@@ -784,7 +784,7 @@ UULoadFileWithPartNo (char *filename, char *fileid, int delflag, int partno, con
* Sometimes articles derived from an NZB file have corrupt Subject: lines.
* That also makes that UUInsertPartToList() fails to combine files properly.
*/
- loaded->subject = _FP_strdup(global_subject);
+ loaded->subject = _FP_strdup((char *)global_subject);
}
if ((fload = UUPreProcessPart (loaded, &res)) == NULL) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]