Bug #279

Integer overflow with gcc

Added by kishan over 9 years ago. Updated almost 8 years ago.

Status:Closed Start date:01/10/2009
Priority:Normal Due date:
Assignee:- % Done:

100%

Category:NeL: General
Target version:Version 0.7.0

Description

in eval_num_expr.cpp
(double)(RAND_MAX+1) returns a negative value with some compilers

integer_overflow_with_gcc.diff (634 Bytes) Magnifier kishan, 01/10/2009 07:13 pm

History

#1 Updated by kishan over 9 years ago

  • Assignee set to kishan

#2 Updated by kishan over 9 years ago

  • File deleted (integer_overflow_with_gcc.diff)

#3 Updated by kervala over 9 years ago

  • Status changed from New to Resolved
  • % Done changed from 0 to 100

Applied in changeset r751.

#4 Updated by sfb over 9 years ago

  • Target version set to Version 0.7.0

#5 Updated by sfb over 9 years ago

  • Status changed from Resolved to Closed

#6 Updated by kervala almost 8 years ago

  • Project changed from NeL to Ryzom
  • Category deleted (Misc)
  • Target version deleted (Version 0.7.0)

#7 Updated by kervala almost 8 years ago

  • Category set to NeL: General
  • Assignee deleted (kishan)
  • Target version set to Version 0.7.0

Also available in: Atom PDF