summaryrefslogtreecommitdiffstats
path: root/src/qjson.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qjson.cpp')
-rw-r--r--src/qjson.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/qjson.cpp b/src/qjson.cpp
index 5936949..41d0144 100644
--- a/src/qjson.cpp
+++ b/src/qjson.cpp
@@ -270,7 +270,7 @@ bool Value::isValid(const Base *b) const
if (!offset)
return true;
- if (offset + sizeof(uint) >= b->tableOffset)
+ if (offset + sizeof(uint) > b->tableOffset)
return false;
int s = usedStorage(b);