diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-23 07:36:16 -0400 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-23 07:36:16 -0400 |
commit | b3dbcae121b94dacff00354169520117da0a13d6 (patch) | |
tree | 4fe808deccef4ade5bf60684a2f5bd123c255d80 /maskaudit.py.in | |
parent | b2f59fa8a8d4e7849394e1df32b18a1417442cb7 (diff) | |
download | gpsd-b3dbcae121b94dacff00354169520117da0a13d6.tar.gz |
Use truly 64-bit constants for the 64-bit gps_mask_t flags.
All regression tests pass. Code splints clean.
Diffstat (limited to 'maskaudit.py.in')
-rw-r--r-- | maskaudit.py.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/maskaudit.py.in b/maskaudit.py.in index 93d52754..1360413e 100644 --- a/maskaudit.py.in +++ b/maskaudit.py.in @@ -25,7 +25,7 @@ class SourceExtractor: if line.startswith("#define") and self.suffix in line: fields = line.split() self.masks.append((fields[1], fields[2])) - if fields[2].startswith("(1u<<") or fields[2].startswith("((gps_mask_t)"): + if fields[2].startswith("(1llu<<") or fields[2].startswith("((gps_mask_t)"): self.primitive_masks.append((fields[1], fields[2])) def in_library(self, flag): |