diff options
Diffstat (limited to 'apps/talk.h')
-rw-r--r-- | apps/talk.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/talk.h b/apps/talk.h index c298476b0c..e8a8645326 100644 --- a/apps/talk.h +++ b/apps/talk.h | |||
@@ -61,7 +61,7 @@ enum { | |||
61 | 61 | ||
62 | /* make a "talkable" ID from number + unit | 62 | /* make a "talkable" ID from number + unit |
63 | unit is upper 4 bits, number the remaining (in regular 2's complement) */ | 63 | unit is upper 4 bits, number the remaining (in regular 2's complement) */ |
64 | #define TALK_ID(n,u) (((long)(u))<<UNIT_SHIFT | ((n) & ~(-1L<<UNIT_SHIFT))) | 64 | #define TALK_ID(n,u) (((long)(u))<<UNIT_SHIFT | ((n) & ~(-1L<<DECIMAL_SHIFT))) |
65 | 65 | ||
66 | /* make a "talkable" ID from a decimal number + unit, the decimal number | 66 | /* make a "talkable" ID from a decimal number + unit, the decimal number |
67 | is represented like x*10^d where d is the number of decimal digits */ | 67 | is represented like x*10^d where d is the number of decimal digits */ |