aboutsummaryrefslogtreecommitdiff
path: root/src/lombok/eclipse/handlers/EclipseHandlerUtil.java
diff options
context:
space:
mode:
Diffstat (limited to 'src/lombok/eclipse/handlers/EclipseHandlerUtil.java')
-rw-r--r--src/lombok/eclipse/handlers/EclipseHandlerUtil.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lombok/eclipse/handlers/EclipseHandlerUtil.java b/src/lombok/eclipse/handlers/EclipseHandlerUtil.java
index 88559436..2f676d09 100644
--- a/src/lombok/eclipse/handlers/EclipseHandlerUtil.java
+++ b/src/lombok/eclipse/handlers/EclipseHandlerUtil.java
@@ -348,7 +348,7 @@ public class EclipseHandlerUtil {
* Create an annotation of the given name, and is marked as being generated by the given source.
*/
public static MarkerAnnotation makeMarkerAnnotation(char[][] name, ASTNode source) {
- long pos = source.sourceStart << 32 | source.sourceEnd;
+ long pos = (long)source.sourceStart << 32 | source.sourceEnd;
TypeReference typeRef = new QualifiedTypeReference(name, new long[] {pos, pos, pos});
Eclipse.setGeneratedBy(typeRef, source);
MarkerAnnotation ann = new MarkerAnnotation(typeRef, (int)(pos >> 32));