Last Comment Bug 755142 - Use ssize_t to store length of the sensor list
: Use ssize_t to store length of the sensor list
Product: Core
Classification: Components
Component: Hardware Abstraction Layer (HAL) (show other bugs)
: unspecified
: All Gonk (Firefox OS)
: -- normal (vote)
: mozilla15
Assigned To: Michael Wu [:mwu]
Depends on:
  Show dependency treegraph
Reported: 2012-05-14 17:24 PDT by Michael Wu [:mwu]
Modified: 2012-05-16 19:59 PDT (History)
1 user (show)
ryanvm: in‑testsuite-
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---

Use ssize_t instead of size_t (1.61 KB, patch)
2012-05-14 17:24 PDT, Michael Wu [:mwu]
mwu.code: review+
Details | Diff | Review

Description Michael Wu [:mwu] 2012-05-14 17:24:21 PDT
Created attachment 623882 [details] [diff] [review]
Use ssize_t instead of size_t

getSensorList returns an ssize_t so we should store it in one.

This patch comes from an anonymous silicon vendor contributor, so r=me.
Comment 2 Ryan VanderMeulen [:RyanVM] 2012-05-16 19:59:31 PDT

Note You need to log in before you can comment on or make changes to this bug.