Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
videolan
vlc
Commits
419f4767
Commit
419f4767
authored
Oct 16, 2015
by
Petri Hintukainen
Committed by
Jean-Baptiste Kempf
Oct 18, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update: Use correct printf format
Signed-off-by:
Jean-Baptiste Kempf
<
jb@videolan.org
>
parent
8b66dc63
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/misc/update.c
src/misc/update.c
+1
-1
No files found.
src/misc/update.c
View file @
419f4767
...
@@ -482,7 +482,7 @@ static char *size_str( uint64_t l_size )
...
@@ -482,7 +482,7 @@ static char *size_str( uint64_t l_size )
else
if
(
l_size
>>
10
)
else
if
(
l_size
>>
10
)
i_retval
=
asprintf
(
&
psz_tmp
,
_
(
"%.1f KiB"
),
(
float
)
l_size
/
(
1
<<
10
)
);
i_retval
=
asprintf
(
&
psz_tmp
,
_
(
"%.1f KiB"
),
(
float
)
l_size
/
(
1
<<
10
)
);
else
else
i_retval
=
asprintf
(
&
psz_tmp
,
_
(
"%
ld
B"
),
l_size
);
i_retval
=
asprintf
(
&
psz_tmp
,
_
(
"%
"
PRIu64
"
B"
),
l_size
);
return
i_retval
==
-
1
?
NULL
:
psz_tmp
;
return
i_retval
==
-
1
?
NULL
:
psz_tmp
;
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment