]> oss.titaniummirror.com Git - rgblamp.git/commit
Ensure proper behavior in timer_cwait
authorR. Steve McKown <rsmckown@gmail.com>
Thu, 8 Dec 2011 03:05:19 +0000 (20:05 -0700)
committerR. Steve McKown <rsmckown@gmail.com>
Thu, 8 Dec 2011 03:05:19 +0000 (20:05 -0700)
commit250129a53a803f2c5c1359f89f1e9a834e8c37a7
treecbbe55da96bd0a4183f5da087ca997545419002e
parentd4a9d87f2396d59c36cfdff81ff651bd0c40dff0
Ensure proper behavior in timer_cwait

Ah, the Hi-Tech compiler's lovely interpretation of promotions.  See
3.6.1, Integral Promotion.  This may affect the conditional in
timer_cwait(), so force a cast of the result to be sure it is correct.
timer.h