1
0
Fork 0

(svn r3788) Fix (harmless) typo in r3784

release/0.5
tron 2006-03-08 08:36:00 +00:00
parent 2181a72e9e
commit af69dba514
1 changed files with 1 additions and 1 deletions

View File

@ -34,7 +34,7 @@ typedef enum DirDiff {
static inline DirDiff DirDifference(Direction d0, Direction d1)
{
return (DirDiff)(d0 + 8 - d1) % 8;
return (DirDiff)((d0 + 8 - d1) % 8);
}
static inline DirDiff ChangeDirDiff(DirDiff d, DirDiff delta)