Skip to content
GitLab
Explore
Sign in
Register
Primary navigation
Search or go to…
Project
R
relibc
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Peter Limkilde Svendsen
relibc
Commits
23b2eb25
"README.md" did not exist on "965941cd1ca3cd038d5cfc6fe83f269098ad9bac"
Commit
23b2eb25
authored
4 years ago
by
Peter Limkilde Svendsen
Browse files
Options
Downloads
Patches
Plain Diff
Avoid assuming c_char is i8
parent
5af8e3ca
No related branches found
No related tags found
No related merge requests found
Pipeline
#8364
passed with warnings
4 years ago
Stage: build
Stage: test
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
src/header/time/mod.rs
+1
-1
1 addition, 1 deletion
src/header/time/mod.rs
with
1 addition
and
1 deletion
src/header/time/mod.rs
+
1
−
1
View file @
23b2eb25
...
@@ -72,7 +72,7 @@ pub struct sigevent;
...
@@ -72,7 +72,7 @@ pub struct sigevent;
#[no_mangle]
#[no_mangle]
pub
unsafe
extern
"C"
fn
asctime
(
timeptr
:
*
const
tm
)
->
*
mut
c_char
{
pub
unsafe
extern
"C"
fn
asctime
(
timeptr
:
*
const
tm
)
->
*
mut
c_char
{
asctime_r
(
timeptr
,
&
mut
ASCTIME
as
*
mut
[
i8
;
26
]
as
*
mut
i8
)
asctime_r
(
timeptr
,
ASCTIME
.
as
_
mut
_ptr
()
.cast
()
)
}
}
#[no_mangle]
#[no_mangle]
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment