Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
L
linphone-desktop
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Administrator
linphone-desktop
Commits
ca214de2
Commit
ca214de2
authored
Aug 07, 2017
by
Ronan Abhamon
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(app): add static_cast for Clang
parent
20f53124
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
QExifImageHeader.cpp
src/utils/QExifImageHeader.cpp
+2
-2
No files found.
src/utils/QExifImageHeader.cpp
View file @
ca214de2
...
@@ -1352,7 +1352,7 @@ QExifValue QExifImageHeader::readIfdValue (QDataStream &stream, int startPos, co
...
@@ -1352,7 +1352,7 @@ QExifValue QExifImageHeader::readIfdValue (QDataStream &stream, int startPos, co
return
QExifValue
(
QString
::
fromUtf8
(
header
.
offsetAscii
,
header
.
count
-
1
));
return
QExifValue
(
QString
::
fromUtf8
(
header
.
offsetAscii
,
header
.
count
-
1
));
}
}
case
QExifValue
:
:
Short
:
{
case
QExifValue
:
:
Short
:
{
QVector
<
quint16
>
value
(
header
.
count
);
QVector
<
quint16
>
value
(
static_cast
<
quint16
>
(
header
.
count
)
);
if
(
header
.
count
>
2
)
{
if
(
header
.
count
>
2
)
{
stream
.
device
()
->
seek
(
startPos
+
header
.
offset
);
stream
.
device
()
->
seek
(
startPos
+
header
.
offset
);
...
@@ -1366,7 +1366,7 @@ QExifValue QExifImageHeader::readIfdValue (QDataStream &stream, int startPos, co
...
@@ -1366,7 +1366,7 @@ QExifValue QExifImageHeader::readIfdValue (QDataStream &stream, int startPos, co
return
QExifValue
(
value
);
return
QExifValue
(
value
);
}
}
case
QExifValue
:
:
Long
:
{
case
QExifValue
:
:
Long
:
{
QVector
<
quint32
>
value
(
header
.
count
);
QVector
<
quint32
>
value
(
static_cast
<
quint32
>
(
header
.
count
)
);
if
(
header
.
count
>
1
)
{
if
(
header
.
count
>
1
)
{
stream
.
device
()
->
seek
(
startPos
+
header
.
offset
);
stream
.
device
()
->
seek
(
startPos
+
header
.
offset
);
...
...
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