comparison Framework/Toolbox/DownloadStack.cpp @ 693:9a474e90e832

Fixed a bunch of truncation warnings in various parts of the library
author Benjamin Golinvaux <bgo@osimis.io>
date Fri, 17 May 2019 08:49:55 +0200
parents b70e9be013e4
children 4f2416d519b4
comparison
equal deleted inserted replaced
692:10910827f235 693:9a474e90e832
75 } 75 }
76 else 76 else
77 { 77 {
78 for (size_t i = 0; i < size; i++) 78 for (size_t i = 0; i < size; i++)
79 { 79 {
80 nodes_[i].prev_ = i - 1; 80 nodes_[i].prev_ = static_cast<int>(i - 1);
81 nodes_[i].next_ = i + 1; 81 nodes_[i].next_ = static_cast<int>(i + 1);
82 nodes_[i].dequeued_ = false; 82 nodes_[i].dequeued_ = false;
83 } 83 }
84 84
85 nodes_.front().prev_ = NIL; 85 nodes_.front().prev_ = NIL;
86 nodes_.back().next_ = NIL; 86 nodes_.back().next_ = NIL;