Skip to content
Projeler
Gruplar
Parçacıklar
Yardım
Yükleniyor...
Oturum aç / Kaydol
Gezinmeyi değiştir
C
core
Proje
Proje
Ayrıntılar
Etkinlik
Cycle Analytics
Depo (repository)
Depo (repository)
Dosyalar
Kayıtlar (commit)
Dallar (branch)
Etiketler
Katkıda bulunanlar
Grafik
Karşılaştır
Grafikler
Konular (issue)
0
Konular (issue)
0
Liste
Pano
Etiketler
Kilometre Taşları
Birleştirme (merge) Talepleri
0
Birleştirme (merge) Talepleri
0
CI / CD
CI / CD
İş akışları (pipeline)
İşler
Zamanlamalar
Grafikler
Paketler
Paketler
Wiki
Wiki
Parçacıklar
Parçacıklar
Üyeler
Üyeler
Collapse sidebar
Close sidebar
Etkinlik
Grafik
Grafikler
Yeni bir konu (issue) oluştur
İşler
Kayıtlar (commit)
Konu (issue) Panoları
Kenar çubuğunu aç
LibreOffice
core
Commits
34a5b1d6
Kaydet (Commit)
34a5b1d6
authored
Şub 26, 2018
tarafından
Eike Rathke
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
Use unsigned char, it is..
Change-Id: I691f138faf53846cb55db589dcf2f87d70d35b8d
üst
942f0599
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
hash.cxx
comphelper/source/misc/hash.cxx
+2
-2
No files found.
comphelper/source/misc/hash.cxx
Dosyayı görüntüle @
34a5b1d6
...
...
@@ -230,8 +230,8 @@ std::vector<unsigned char> Hash::calculateHash(
{
vPass
.
resize
(
nPassBytesLen
);
std
::
copy
(
pPassBytes
,
pPassBytes
+
nPassBytesLen
,
vPass
.
begin
());
sal_uInt8
*
p
=
reinterpret_cast
<
sal_uInt8
*>
(
vPass
.
data
()
);
sal_uInt8
const
*
const
pEnd
=
p
+
nPassBytesLen
;
unsigned
char
*
p
=
vPass
.
data
(
);
unsigned
char
const
*
const
pEnd
=
p
+
nPassBytesLen
;
for
(
;
p
<
pEnd
;
p
+=
2
)
{
std
::
swap
(
p
[
0
],
p
[
1
]
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment