Page MenuHome

Fixes for VC++2010 warnings
Closed, ArchivedPublicPATCH

Description

Fix most of the VC++2010-reported warnings that show up on a clean & rebuild. Most of the warnings are from missing explicit casts or negation (using "-" unary operator) of unsigned ints.

A few warnings fixed here look they were really bugs.. (in source\blender\editors\space_file\file_draw.c and intern/elbeem/intern/solver_relax.h)

Event Timeline

+1 on this for trunk, except 1 thing:

- source/blender/blenlib/intern/storage.c
whats the problem with "size= ftell(fp);" ?, cant this just cast, while practically I agree with you I'd rather not apply this change, rather open the full file - and have a size limit somewhere else in blender and cast to int64_t in this function.

Campbell Barton (campbellbarton) changed the task status from Unknown Status to Unknown Status.Sep 26 2011, 4:47 PM

applied, closing.