Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
PIM
Akonadi
Commits
cd186342
Commit
cd186342
authored
Oct 22, 2022
by
Nicolas Fella
Browse files
Don't narrow qsizetype to int
parent
8e632c0e
Pipeline
#253497
passed with stage
in 47 minutes and 26 seconds
Changes
1
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
autotests/server/itemcreatehandlertest.cpp
View file @
cd186342
...
...
@@ -64,7 +64,7 @@ public:
}
struct
PartHelper
{
PartHelper
(
const
QString
&
type_
,
const
QByteArray
&
data_
,
int
size_
,
Part
::
Storage
storage_
=
Part
::
Internal
,
int
version_
=
0
)
PartHelper
(
const
QString
&
type_
,
const
QByteArray
&
data_
,
qsizetype
size_
,
Part
::
Storage
storage_
=
Part
::
Internal
,
int
version_
=
0
)
:
type
(
type_
)
,
data
(
data_
)
,
size
(
size_
)
...
...
@@ -74,7 +74,7 @@ public:
}
QString
type
;
QByteArray
data
;
int
size
;
qsizetype
size
;
Part
::
Storage
storage
;
int
version
;
};
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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