FreeBSD Bugzilla – Attachment 179630 Details for
Bug 216815
[PATCH] multimedia/assimp: Fix build on armv6 and aarch64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
BlenderDNA.cpp fix
patch-code_BlenderDNA.cpp (text/plain), 1.07 KB, created by
Michal Meloun
on 2017-02-05 09:57:15 UTC
(
hide
)
Description:
BlenderDNA.cpp fix
Filename:
MIME Type:
Creator:
Michal Meloun
Created:
2017-02-05 09:57:15 UTC
Size:
1.07 KB
patch
obsolete
>--- code/BlenderDNA.cpp.orig 2017-02-05 09:22:26 UTC >+++ code/BlenderDNA.cpp >@@ -55,10 +55,10 @@ using namespace Assimp::Formatter; > > bool match4(StreamReaderAny& stream, const char* string) { > char tmp[] = { >- (stream).GetI1(), >- (stream).GetI1(), >- (stream).GetI1(), >- (stream).GetI1() >+ static_cast<char>((stream).GetI1()), >+ static_cast<char>((stream).GetI1()), >+ static_cast<char>((stream).GetI1()), >+ static_cast<char>((stream).GetI1()) > }; > return (tmp[0]==string[0] && tmp[1]==string[1] && tmp[2]==string[2] && tmp[3]==string[3]); > } >@@ -345,10 +345,10 @@ void SectionParser :: Next() > stream.SetCurrentPos(current.start + current.size); > > const char tmp[] = { >- stream.GetI1(), >- stream.GetI1(), >- stream.GetI1(), >- stream.GetI1() >+ static_cast<char>(stream.GetI1()), >+ static_cast<char>(stream.GetI1()), >+ static_cast<char>(stream.GetI1()), >+ static_cast<char>(stream.GetI1()) > }; > current.id = std::string(tmp,tmp[3]?4:tmp[2]?3:tmp[1]?2:1); >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 216815
:
179630
|
179631
|
179668