Commit e78a4870 authored by Topi Reinio's avatar Topi Reinio Committed by Topi Reiniö
Browse files

qdoc: Fix compilation warnings on MSVC


We pass the size_t of an std::vector to a clang function taking an
int as an argument, which on MSVC resulted in

warning C4267: 'argument': conversion from 'size_t' to 'int',
               possible loss of data

To fix this, cast explicitly.

Change-Id: I3636f7ced600c387c678aa59012274db490d8f8d
Reviewed-by: default avatarJędrzej Nowacki <jedrzej.nowacki@qt.io>
Reviewed-by: default avatarMartin Smith <martin.smith@qt.io>
parent 74a742cf
No related merge requests found
Showing with 2 additions and 2 deletions
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment