48 lines
1.2 KiB
Diff
48 lines
1.2 KiB
Diff
From f7eea39940917922a31185ce0735059d66374928 Mon Sep 17 00:00:00 2001
|
|
From: jpzhang <jpzhang187@163.com>
|
|
Date: Wed, 15 Jul 2020 11:50:44 +0800
|
|
Subject: [PATCH] fix the build issue with gperf-3.1
|
|
|
|
|
|
diff --git a/compat.h b/compat.h
|
|
index 8af71ec..b3d80d9 100644
|
|
--- a/compat.h
|
|
+++ b/compat.h
|
|
@@ -34,7 +34,7 @@ struct id3_compat {
|
|
};
|
|
|
|
struct id3_compat const *id3_compat_lookup(register char const *,
|
|
- register unsigned int);
|
|
+ register size_t);
|
|
|
|
int id3_compat_fixup(struct id3_tag *);
|
|
|
|
diff --git a/frametype.c b/frametype.c
|
|
index 13c5001..4d7e0f8 100644
|
|
--- a/frametype.c
|
|
+++ b/frametype.c
|
|
@@ -357,7 +357,7 @@ __inline
|
|
const struct id3_frametype *
|
|
id3_frametype_lookup (str, len)
|
|
register const char *str;
|
|
- register unsigned int len;
|
|
+ register size_t len;
|
|
{
|
|
static const struct id3_frametype wordlist[] =
|
|
{
|
|
diff --git a/frametype.h b/frametype.h
|
|
index dd064b2..b5b7593 100644
|
|
--- a/frametype.h
|
|
+++ b/frametype.h
|
|
@@ -37,6 +37,6 @@ extern struct id3_frametype const id3_frametype_unknown;
|
|
extern struct id3_frametype const id3_frametype_obsolete;
|
|
|
|
struct id3_frametype const *id3_frametype_lookup(register char const *,
|
|
- register unsigned int);
|
|
+ register size_t);
|
|
|
|
# endif
|
|
--
|
|
2.23.0
|
|
|