$OpenBSD: patch-reedsolomon_cpp,v 1.2 2015/10/05 16:50:14 sthen Exp $

- c++: warning: suggest parentheses around arithmetic in operand of '|' [-Wparentheses]
  https://github.com/Parchive/par2cmdline/pull/60

--- reedsolomon.cpp.orig	Sun Aug  2 17:09:46 2015
+++ reedsolomon.cpp	Sun Oct  4 18:31:57 2015
@@ -294,7 +294,7 @@ template<> bool ReedSolomon<Galois16>::InternalProcess
     *pL = *LL + *HL;
 #else
     unsigned int temp = *LL + *HL;
-    *pL = (temp >> 8) & 0xff | (temp << 8) & 0xff00;
+    *pL = ((temp >> 8) & 0xff) | ((temp << 8) & 0xff00);
 #endif
 
     pL++;
@@ -305,7 +305,7 @@ template<> bool ReedSolomon<Galois16>::InternalProcess
     *pH = *LH + *HH;
 #else
     temp = *LH + *HH;
-    *pH = (temp >> 8) & 0xff | (temp << 8) & 0xff00;
+    *pH = ((temp >> 8) & 0xff) | ((temp << 8) & 0xff00);
 #endif
 
     pH++;
