projects
/
platform
/
core
/
api
/
mime-type.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b6d712
)
Fix conversion error
26/245426/1
author
Daehyeon Jung
<darrenh.jung@samsung.com>
Thu, 8 Oct 2020 10:12:28 +0000
(19:12 +0900)
committer
Daehyeon Jung
<darrenh.jung@samsung.com>
Thu, 8 Oct 2020 10:12:28 +0000
(19:12 +0900)
Change-Id: I4dfc3a90e520e0bdb5fac495c5d0b11dd0a56fd5
unit-tests/test.cc
patch
|
blob
|
history
diff --git
a/unit-tests/test.cc
b/unit-tests/test.cc
index
ad78476
..
c5067b0
100644
(file)
--- a/
unit-tests/test.cc
+++ b/
unit-tests/test.cc
@@
-82,7
+82,7
@@
TEST_F(MimeTypeTest, GetFileExtension) {
TEST_F(MimeTypeTest, GetMimeTypeForData) {
int r;
char* mime_type;
- const char png[] = {0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
+ const
unsigned
char png[] = {0x89, 0x50, 0x4e, 0x47, 0x0d, 0x0a, 0x1a, 0x0a,
0x00, 0x00, 0x00, 0x0d, 0x49, 0x48, 0x44, 0x52,
0x00, 0x00, 0x00, 0x01, 0x00, 0x00, 0x00, 0x01,
0x01, 0x00, 0x00, 0x00, 0x00, 0x37, 0x6e, 0xf9,