projects
/
vlc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
20f157e
)
taglib: don't cast the file st_size to a possibly smaller type
author
Steve Lhomme
<robux4@ycbcr.xyz>
Wed, 4 Jan 2023 14:24:47 +0000
(15:24 +0100)
committer
Sebastian Ramacher
<sramacher@debian.org>
Tue, 21 Jan 2025 18:02:47 +0000
(19:02 +0100)
We can just use auto and always get the proper type.
(cherry picked from commit
7413126744e0b494856ba9acc5ae3c27ce4af625
)
Gbp-Pq: Name 0053-taglib-don-t-cast-the-file-st_size-to-a-possibly-sma.patch
modules/meta_engine/taglib.cpp
patch
|
blob
|
history
diff --git
a/modules/meta_engine/taglib.cpp
b/modules/meta_engine/taglib.cpp
index 958651042597c1e90473523387bf68e13606092b..2891e0671857365491c7f7201d268c64d14601c2 100644
(file)
--- a/
modules/meta_engine/taglib.cpp
+++ b/
modules/meta_engine/taglib.cpp
@@
-1233,7
+1233,7
@@
static void WriteMetaToId3v2( ID3v2::Tag* tag, input_item_t* p_item )
fclose( p_file );
return;
}
-
off_t
file_size = st.st_size;
+
auto
file_size = st.st_size;
free( psz_path );