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
e4ff01e4
Commit
e4ff01e4
authored
Sep 30, 2014
by
Olivier Bertrand
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
- Fix all compiler issues on FreeBSD clang.
modified: storage/connect/array.cpp storage/connect/filamap.cpp
parent
4b2b2abe
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
4 deletions
+4
-4
storage/connect/array.cpp
storage/connect/array.cpp
+1
-1
storage/connect/filamap.cpp
storage/connect/filamap.cpp
+3
-3
No files found.
storage/connect/array.cpp
View file @
e4ff01e4
...
...
@@ -129,7 +129,7 @@ PARRAY MakeValueArray(PGLOBAL g, PPARM pp)
break
;
case
TYPE_VOID
:
// Integer stored inside pp->Value
par
->
AddValue
(
g
,
(
int
)
parmp
->
Value
);
par
->
AddValue
(
g
,
(
int
)
(
uintptr_t
)
parmp
->
Value
);
break
;
}
// endswitch valtyp
...
...
storage/connect/filamap.cpp
View file @
e4ff01e4
...
...
@@ -290,8 +290,8 @@ bool MAPFAM::RecordPos(PGLOBAL g)
/***********************************************************************/
int
MAPFAM
::
InitDelete
(
PGLOBAL
g
,
int
fpos
,
int
spos
)
{
Fpos
=
Memory
+
fpos
;
Mempos
=
Memory
+
spos
;
Fpos
=
Memory
+
(
uintptr_t
)
fpos
;
Mempos
=
Memory
+
(
uintptr_t
)
spos
;
return
RC_OK
;
}
// end of InitDelete
...
...
@@ -685,7 +685,7 @@ bool MPXFAM::SetPos(PGLOBAL g, int pos)
/***********************************************************************/
int
MPXFAM
::
InitDelete
(
PGLOBAL
g
,
int
fpos
,
int
spos
)
{
Fpos
=
Memory
+
Headlen
+
fpos
*
Lrecl
;
Fpos
=
Memory
+
Headlen
+
(
uintptr_t
)
fpos
*
Lrecl
;
Mempos
=
Fpos
+
Lrecl
;
return
RC_OK
;
}
// end of InitDelete
...
...
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