Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Open sidebar
Main
Synchronet
Commits
db2dea66
Commit
db2dea66
authored
Mar 13, 2022
by
Rob Swindell
💬
Browse files
Use new i64toac() function to support files > 4GB in size
parent
6966a81b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/sbbs3/file.cpp
src/sbbs3/file.cpp
+1
-1
No files found.
src/sbbs3/file.cpp
View file @
db2dea66
...
...
@@ -39,7 +39,7 @@ void sbbs_t::showfileinfo(file_t* f, bool show_extdesc)
bprintf
(
P_TRUNCATE
,
text
[
FiFilename
],
f
->
name
);
if
(
getfilesize
(
&
cfg
,
f
)
>=
0
)
bprintf
(
P_TRUNCATE
,
text
[
FiFileSize
],
ul
toac
(
(
ulong
)
f
->
size
,
tmp
)
bprintf
(
P_TRUNCATE
,
text
[
FiFileSize
],
i64
toac
(
f
->
size
,
tmp
)
,
byte_estimate_to_str
(
f
->
size
,
tmp2
,
sizeof
(
tmp2
),
/* units: */
1024
,
/* precision: */
1
));
bprintf
(
P_TRUNCATE
,
text
[
FiCredits
]
...
...
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