Skip to content

Commit cb5967a

Browse files
committed
Fix compilation errors in temporary code
1 parent e51671c commit cb5967a

File tree

1 file changed

+6
-6
lines changed

1 file changed

+6
-6
lines changed

Classes/FCryptoSHA2.uc

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -293,10 +293,10 @@ static final function Sha2SmallOut(
293293
}
294294
else
295295
{
296-
class'FCryptoMemory'.static.MemSet(Buf, 0, 56 - Ptr, Ptr);
296+
// class'FCryptoMemory'.static.MemSet(Buf, 0, 56 - Ptr, Ptr);
297297
}
298298

299-
Enc64BE(Buf /* + 56 */, Cc.Count << 3); // TODO
299+
// Enc64BE(Buf /* + 56 */, Cc.Count << 3); // TODO
300300
// Sha2SmallRound(Buf, Val); // TODO
301301
// RangeEnc32BE(Dst, Val, Num); // TODO
302302
}
@@ -349,10 +349,10 @@ static final function Enc32BE(
349349
int X
350350
)
351351
{
352-
Dst[0] = X >>> 24;
353-
Dst[1] = X >>> 16;
354-
Dst[2] = X >>> 8;
355-
Dst[3] = X
352+
Dst[0] = byte(X >>> 24);
353+
Dst[1] = byte(X >>> 16);
354+
Dst[2] = byte(X >>> 8);
355+
Dst[3] = byte(X );
356356
}
357357

358358
DefaultProperties

0 commit comments

Comments
 (0)