[Numpy-discussion] MSVC warnings.

Charles R Harris charlesr.harris at gmail.com
Sun Jul 20 16:52:45 EDT 2008


The Windows_XP buildbot shows several warnings about npy_intp -> int
conversions. Two of them look OK, but probably explicit casts should be
made. The third is:

numpy\core\src\ufuncobject.c(2422) : warning C4244: '=' : conversion
from 'npy_intp' to 'int', possible loss of data

Which looks possibly legitimate to me. Unfortunately, it looks like
fixing it involves a change in the loop type.

Chuck
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/numpy-discussion/attachments/20080720/3227a97a/attachment.html>


More information about the NumPy-Discussion mailing list