Closed Bug 856409 Opened 13 years ago Closed 13 years ago

Fixed warnings in Accesibility.cpp

Categories

(Core :: Disability Access APIs, defect)

x86_64
Linux
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla22

People

(Reporter: bindarel, Assigned: bindarel)

References

(Blocks 1 open bug)

Details

Attachments

(1 file, 2 obsolete files)

/home/student/mozilla-central/accessible/src/generic/Accessible.cpp: In member function ‘virtual bool mozilla::a11y::Accessible::InsertChildAt(uint32_t, mozilla::a11y::Accessible*)’: /home/student/mozilla-central/accessible/src/generic/Accessible.cpp:2657:7: warning: comparison between signed and unsigned integer expressions [-Wsign-compare] /home/student/mozilla-central/accessible/src/generic/Accessible.cpp: In member function ‘virtual bool mozilla::a11y::Accessible::RemoveChild(mozilla::a11y::Accessible*)’: /home/student/mozilla-central/accessible/src/generic/Accessible.cpp:2688:5: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
This is my first bug, i will submit a patch soon.
Attached patch Patch v1 (obsolete) — Splinter Review
Attachment #731630 - Flags: review?(trev.saunders)
Blocks: 819664
Comment on attachment 731630 [details] [diff] [review] Patch v1 you should use static_cast instead of C style cast r=tbsaunde with that
Attachment #731630 - Flags: review?(trev.saunders) → review+
(In reply to Trevor Saunders (:tbsaunde) from comment #3) > Comment on attachment 731630 [details] [diff] [review] > Patch v1 > > you should use static_cast instead of C style cast > > r=tbsaunde with that Thanks for review, I will send now the new patch.
Attached patch Patch v2 (obsolete) — Splinter Review
Attachment #731630 - Attachment is obsolete: true
Attachment #731700 - Flags: review?(trev.saunders)
Keywords: checkin-needed
Comment on attachment 731700 [details] [diff] [review] Patch v2 nit, keep lines under 80 chars
Attachment #731700 - Flags: review?(trev.saunders) → review+
Attached patch Patch v3Splinter Review
Attachment #731700 - Attachment is obsolete: true
Attachment #731711 - Flags: review?(trev.saunders)
Attachment #731711 - Flags: review?(trev.saunders)
Assignee: nobody → bindarel
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Status: ASSIGNED → RESOLVED
Closed: 13 years ago
Flags: in-testsuite-
Resolution: --- → FIXED
Target Milestone: --- → mozilla22
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: