Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
mariadb
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
mariadb
Commits
e7fd63bf
Commit
e7fd63bf
authored
Nov 02, 2005
by
msvensson@neptunus.(none)
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Portability fix, opnsrv6c
parent
e5f48e13
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
mysys/base64.c
mysys/base64.c
+3
-3
No files found.
mysys/base64.c
View file @
e7fd63bf
...
@@ -129,7 +129,7 @@ base64_decode(const char *src, size_t size, void *dst)
...
@@ -129,7 +129,7 @@ base64_decode(const char *src, size_t size, void *dst)
{
{
char
b
[
3
];
char
b
[
3
];
size_t
i
=
0
;
size_t
i
=
0
;
void
*
d
=
dst
;
unsigned
char
*
d
=
(
unsigned
char
*
)
dst
;
size_t
j
;
size_t
j
;
while
(
i
<
size
)
while
(
i
<
size
)
...
@@ -181,14 +181,14 @@ base64_decode(const char *src, size_t size, void *dst)
...
@@ -181,14 +181,14 @@ base64_decode(const char *src, size_t size, void *dst)
b
[
2
]
=
(
c
>>
0
)
&
0xff
;
b
[
2
]
=
(
c
>>
0
)
&
0xff
;
for
(
j
=
0
;
j
<
3
-
mark
;
j
++
)
for
(
j
=
0
;
j
<
3
-
mark
;
j
++
)
*
(
char
*
)
d
++=
b
[
j
];
*
d
++=
b
[
j
];
}
}
if
(
i
!=
size
)
if
(
i
!=
size
)
{
{
return
-
1
;
return
-
1
;
}
}
return
d
-
dst
;
return
d
-
(
unsigned
char
*
)
dst
;
}
}
...
...
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