[haiku-bugs] [Haiku] #11564: Removed implicit conversion to int32 (CID 1251478)

  • From: "tgkokk" <trac@xxxxxxxxxxxx>
  • Date: Wed, 03 Dec 2014 19:25:33 -0000

#11564: Removed implicit conversion to int32 (CID 1251478)
---------------------------------------------+-----------------------------
 Reporter:  tgkokk                           |        Owner:  nobody
     Type:  bug                              |       Status:  new
 Priority:  normal                           |    Milestone:  R1
Component:  Applications/Command Line Tools  |      Version:
 Keywords:  gci2014                          |  R1/Development
 Blocking:                                   |   Blocked By:
 Platform:  All                              |  Has a Patch:  0
---------------------------------------------+-----------------------------
 In [http://cgit.haiku-os.org/haiku/tree/src/bin/screeninfo.cpp#n32
 /src/bin/screeninfo.cpp], `screen.ID()` is returning a struct with an
 `int32` field `id` but the `printf` argument is the whole struct. I guess
 that `printf` is smart and retrieves the struct's only field.

--
Ticket URL: <https://dev.haiku-os.org/ticket/11564>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: