psu-ng: Change pgoodFault type to size_t
The Misc Guidelines section of the coding conventions indicate that we
should "Always use size_t or ssize_t for things that are sizes, counts,
etc. ...."
https: //github.com/openbmc/docs/blob/master/cpp-style-and-conventions.md
Change-Id: I23eba141c00e138477e008a40962f0c1af94bb51
Signed-off-by: Brandon Wyman <bjwyman@gmail.com>
diff --git a/phosphor-power-supply/power_supply.hpp b/phosphor-power-supply/power_supply.hpp
index c995376..8e82927 100644
--- a/phosphor-power-supply/power_supply.hpp
+++ b/phosphor-power-supply/power_supply.hpp
@@ -448,7 +448,7 @@
*
* Considered faulted if reaches DEGLITCH_LIMIT.
*/
- int pgoodFault = 0;
+ size_t pgoodFault = 0;
/**
* @brief Power Supply Kill fault.