[haiku-bugs] Re: [Haiku] #9673: DriveSetup: integer overflow in slider for partition size

  • From: "jessicah" <trac@xxxxxxxxxxxx>
  • Date: Mon, 15 Apr 2013 01:51:42 -0000

#9673: DriveSetup: integer overflow in slider for partition size
---------------------------------------+----------------------------
   Reporter:  jessicah                 |      Owner:  kallisti5
       Type:  bug                      |     Status:  assigned
   Priority:  normal                   |  Milestone:  R1
  Component:  Applications/DriveSetup  |    Version:  R1/Development
 Resolution:                           |   Keywords:
 Blocked By:                           |   Blocking:  9557
Has a Patch:  1                        |   Platform:  All
---------------------------------------+----------------------------

Comment (by jessicah):

 You'd think so, but I was printing it out, and it was indeed overflowing.
 Looks like the implicit cast happened after the multiplication, not
 before.

--
Ticket URL: <http://dev.haiku-os.org/ticket/9673#comment:8>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: