aboutsummaryrefslogtreecommitdiffstats
path: root/src/main/java
diff options
context:
space:
mode:
Diffstat (limited to 'src/main/java')
-rw-r--r--src/main/java/com/healthmarketscience/jackcess/impl/query/QueryImpl.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main/java/com/healthmarketscience/jackcess/impl/query/QueryImpl.java b/src/main/java/com/healthmarketscience/jackcess/impl/query/QueryImpl.java
index 6007a16..8206190 100644
--- a/src/main/java/com/healthmarketscience/jackcess/impl/query/QueryImpl.java
+++ b/src/main/java/com/healthmarketscience/jackcess/impl/query/QueryImpl.java
@@ -303,7 +303,7 @@ public abstract class QueryImpl implements Query
comboJoins = new ArrayList<Row>();
comboJoinMap.put(key, comboJoins);
} else {
- if(comboJoins.get(0).flag != join.flag) {
+ if(comboJoins.get(0).flag != (short)join.flag) {
throw new IllegalStateException(withErrorContext(
"Mismatched join flags for combo joins"));
}