Since guint64 is really an unsigned long dont cast it as unsigned long
commit9579febbd6c9993b7408f7006e4f9cd8e78f345d
authorBen Kibbey <bjk@luxsci.net>
Sun, 7 Feb 2010 21:34:37 +0000 (7 16:34 -0500)
committerBen Kibbey <bjk@luxsci.net>
Sun, 7 Feb 2010 21:34:37 +0000 (7 16:34 -0500)
tree7e38b9c0c8503c1f2ae82725f34842c3124168dd
parent9a68e37958b26fa9eb54ac0bf0f4c89a4ba729e9
Since guint64 is really an unsigned long dont cast it as unsigned long
long in places. Also in set_unset_common() use a guint64 and strtoul()
to detect negative values (syntax errors).
src/commands.c
src/pwmd.c