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
ec6d0dec
Kaydet (Commit)
ec6d0dec
authored
Kas 15, 2013
tarafından
I-Jui (Ray) Sung
Dosyalara gözat
Seçenekler
Dosyalara Gözat
İndir
Eposta Yamaları
Sade Fark
GPU Calc: fix compilation error in using sprintf
Change-Id: Iea316f3355a9105702391aa7b76268cdfc8831ef
üst
a1e6bbbd
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
+3
-2
op_math.cxx
sc/source/core/opencl/op_math.cxx
+3
-2
No files found.
sc/source/core/opencl/op_math.cxx
Dosyayı görüntüle @
ec6d0dec
...
...
@@ -1927,10 +1927,11 @@ void OpProduct::GenSlidingWindowFunction(std::stringstream &ss,
ss
<<
" int gid0 = get_global_id(0);
\n
"
;
ss
<<
" int i = 0;
\n
"
;
ss
<<
" double product=0.0;
\n\n
"
;
char
sArgNoI
[
5
];
for
(
unsigned
i
=
0
;
i
<
vSubArguments
.
size
();
i
++
)
{
sprintf
(
sArgNoI
,
"%d"
,
i
);
std
::
stringstream
ssArgNoI
;
ssArgNoI
<<
i
;
std
::
string
sArgNoI
=
ssArgNoI
.
str
();
ss
<<
std
::
string
(
" double arg"
)
+
sArgNoI
+
";
\n
"
;
FormulaToken
*
pCur
=
vSubArguments
[
i
]
->
GetFormulaToken
();
assert
(
pCur
);
...
...
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