Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
GHC
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Tobias Decking
GHC
Commits
0073a233
Commit
0073a233
authored
Apr 02, 2001
by
qrczak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[project @ 2001-04-02 07:24:12 by qrczak]
Don't cast pointers to ints to perform pointer arithmetic.
parent
c6957c09
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
ghc/includes/TSO.h
ghc/includes/TSO.h
+2
-2
No files found.
ghc/includes/TSO.h
View file @
0073a233
/* -----------------------------------------------------------------------------
* $Id: TSO.h,v 1.2
0 2001/03/22 03:51:09 hwloidl
Exp $
* $Id: TSO.h,v 1.2
1 2001/04/02 07:24:12 qrczak
Exp $
*
* (c) The GHC Team, 1998-1999
*
...
...
@@ -267,7 +267,7 @@ typedef struct StgTSO_ {
extern
StgTSO
dummy_tso
;
#define TSO_STRUCT_SIZE \
((
int)&(dummy_tso).stack - (int)&(dummy_tso)
.header)
((
char *)&dummy_tso.stack - (char *)&dummy_tso
.header)
#define TSO_STRUCT_SIZEW (TSO_STRUCT_SIZE / sizeof(W_))
...
...
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