[prev in list] [next in list] [prev in thread] [next in thread] 

List:       kde-commits
Subject:    kdenetwork/kpf/src
From:       Rik Hemsley <rik () kde ! org>
Date:       2004-10-31 4:34:09
Message-ID: 20041031043409.6EC5616C57 () office ! kde ! org
[Download RAW message or body]

CVS commit by rikkus: 

BUG: 68362

Encoding of chars as 2 hex chars (a number) was broken. Signed char was being turned \
into signed ULL, and coming out as fffffffffffffffffffffffffff6 or something similar. \
Casting it to uchar fixes this, so chars now come out as 2 hex chars as they should.


  M +1 -1      Utils.cpp   1.13


--- kdenetwork/kpf/src/Utils.cpp  #1.12:1.13
@@ -520,5 +520,5 @@ namespace KPF
       else
       {
-        quoted += QString("%%1").arg(c, 0, 16);
+        quoted += QString("%%1").arg(uchar(c), 0, 16);
       }
     }


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic