summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0dce97a)
raw | patch | inline | side by side (parent: 0dce97a)
author | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 11 Mar 2016 18:50:04 +0000 (19:50 +0100) | ||
committer | Ruben Kerkhof <ruben@rubenkerkhof.com> | |
Fri, 11 Mar 2016 18:50:04 +0000 (19:50 +0100) |
src/battery.c | patch | blob | history |
diff --git a/src/battery.c b/src/battery.c
index c4c050d7ff1cd11cc70cd2d17323f90da747e542..b87739ac7d03affe2f20047d161f77b2b2d85001 100644 (file)
--- a/src/battery.c
+++ b/src/battery.c
} /* }}} void submit_capacity */
#if HAVE_IOKIT_PS_IOPOWERSOURCES_H || HAVE_IOKIT_IOKITLIB_H
-static double dict_get_double (CFDictionaryRef dict, char *key_string) /* {{{ */
+static double dict_get_double (CFDictionaryRef dict, const char *key_string) /* {{{ */
{
double val_double;
long long val_int;