You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 1, 2021. It is now read-only.
The variable
len
isint
, but%u
is used.This may cause UB(but the compiler doesn't say any errors or warnings. ref. https://stackoverflow.com/questions/11303784/why-doesnt-gcc-wformat-warn-about-printf-d-on-an-unsigned-int)
We should use
%d
instead, or change the type oflen
tounsigned int
.Using other C++ STL (like
std::stringstream
) is also good, I think.blueoil/blueoil/converter/templates/include/npy.hpp
Line 104 in 3510e3f
The text was updated successfully, but these errors were encountered: