diff options
author | albert-github <albert.tests@gmail.com> | 2020-10-01 11:07:05 (GMT) |
---|---|---|
committer | albert-github <albert.tests@gmail.com> | 2020-10-01 11:07:05 (GMT) |
commit | aad2c7ae4db355c68d1b87ad29e9bf47f8b7652e (patch) | |
tree | 532e7c686d64aa7921d3b7dcdd135e476c586992 /src/template.cpp | |
parent | 02b8dea10813606db4a013799a3e354368d0280f (diff) | |
download | Doxygen-aad2c7ae4db355c68d1b87ad29e9bf47f8b7652e.zip Doxygen-aad2c7ae4db355c68d1b87ad29e9bf47f8b7652e.tar.gz Doxygen-aad2c7ae4db355c68d1b87ad29e9bf47f8b7652e.tar.bz2 |
Warning about possible loss of data
Om 64-bit windows platform we get the warning:
```
src\template.cpp(341): warning C4267: 'return': conversion from 'size_t' to 'uint', possible loss of data
```
Explicit setting conversion..
Diffstat (limited to 'src/template.cpp')
-rw-r--r-- | src/template.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/template.cpp b/src/template.cpp index 66347c4..58188fe 100644 --- a/src/template.cpp +++ b/src/template.cpp @@ -338,7 +338,7 @@ int TemplateList::release() uint TemplateList::count() const { - return p->elems.size(); + return static_cast<uint>(p->elems.size()); } void TemplateList::append(const TemplateVariant &v) |