I'd prefer static_cast() than a C-style cast please. Note that the cause of this is the "mistake" (according to Bjarne Stroustrup no less) that the C++ standard library uses an unsigned type to represent the size of a container. Google and many other house styles recommend signed types for the size of a container, which Adept uses (despite the legacy "uIndex" name).
This fixes the last warnings that my project using Adept has :) When
uIndex
isint
Xcode warns on these: