]> Shamusworld >> Repos - rmac/blobdiff - eagen0.c
Version bump + cleanup for last commit; now at v2.0.19.
[rmac] / eagen0.c
index 60b7e4a6c40d564b76f526cb78186f952a15ff91..bcddb193f64f51e76ceaaab1e0b6e3da158d0655 100644 (file)
--- a/eagen0.c
+++ b/eagen0.c
@@ -327,8 +327,10 @@ int eaNgen(WORD siz)
                if (w) // Defined
                {
                        if (CHECK_OPTS(OPT_PC_RELATIVE))
-                               if (aNexattr&(DEFINED | REFERENCED | EQUATED) == DEFINED | REFERENCED)
+                       {
+                               if ((aNexattr & (DEFINED | REFERENCED | EQUATED)) == (DEFINED | REFERENCED))
                                        return error("relocation not allowed");
+                       }
 
                        if (tdb)
                                MarkRelocatable(cursect, sloc, tdb, MLONG, NULL);