Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
F
fmt
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
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
Libraries
fmt
Commits
f406a42b
Commit
f406a42b
authored
Dec 06, 2013
by
Victor Zverovich
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix a warning about long long.
parent
39cc99e2
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletion
+4
-1
format.cc
format.cc
+1
-1
format.h
format.h
+3
-0
No files found.
format.cc
View file @
f406a42b
...
...
@@ -519,7 +519,7 @@ void fmt::BasicFormatter<Char>::DoFormat() {
++
s
;
++
num_open_braces_
;
const
Arg
&
precision_arg
=
ParseArgIndex
(
s
);
unsigned
long
l
ong
value
=
0
;
ULongL
ong
value
=
0
;
switch
(
precision_arg
.
type
)
{
case
INT
:
if
(
precision_arg
.
int_value
<
0
)
...
...
format.h
View file @
f406a42b
...
...
@@ -66,6 +66,7 @@
# pragma warning(push)
# pragma warning(disable: 4521)
#endif
namespace
fmt
{
namespace
internal
{
...
...
@@ -939,6 +940,8 @@ class BasicFormatter {
int
num_open_braces_
;
int
next_arg_index_
;
typedef
unsigned
long
long
ULongLong
;
friend
class
internal
::
FormatterProxy
<
Char
>
;
// Forbid copying from a temporary as in the following example:
...
...
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