summaryrefslogtreecommitdiff
path: root/shared-core/via_verifier.c
diff options
context:
space:
mode:
authorThomas Hellstrom <unichrome@shipmail.org>2005-08-14 09:52:09 +0000
committerThomas Hellstrom <unichrome@shipmail.org>2005-08-14 09:52:09 +0000
commit4f5961eeeee806a2d6e08e159c56262d4f060cba (patch)
treee5e70f2900f9cb441ad16eca442bc616018595e8 /shared-core/via_verifier.c
parent4050f5066a706bda74ed93ab858bbc9fc0b1477b (diff)
VIA bugvixes by Joris van Rantwijk Initial commit.
Diffstat (limited to 'shared-core/via_verifier.c')
-rw-r--r--shared-core/via_verifier.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/shared-core/via_verifier.c b/shared-core/via_verifier.c
index 07923b0c..65a7b9e7 100644
--- a/shared-core/via_verifier.c
+++ b/shared-core/via_verifier.c
@@ -246,7 +246,7 @@ static hazard_t table3[256];
static __inline__ int
eat_words(const uint32_t **buf, const uint32_t *buf_end, unsigned num_words)
{
- if ((*buf - buf_end) >= num_words) {
+ if ((buf_end - *buf) >= num_words) {
*buf += num_words;
return 0;
}