summaryrefslogtreecommitdiff
path: root/cross/uisp/patches/patch-src_Stk500.C
blob: c039b0fcfde8a4fd4e717d629135c5007347dd71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
$NetBSD: patch-src_Stk500.C,v 1.1 2011/12/05 22:44:08 joerg Exp $

--- src/Stk500.C.orig	2011-12-05 20:37:56.000000000 +0000
+++ src/Stk500.C
@@ -407,7 +407,7 @@ void TStk500::FlushWriteBuffer(){
   }
 
   pgsz = prg_part[desired_part].params.pagesize;
-  pagesize = (pgsz[0]) << 8 + pgsz[1];
+  pagesize = (pgsz[0] << 8) + pgsz[1];
 
   if (pagesize == 0) {
     pagesize = 128;