Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
fdd1bdf7
Commit
fdd1bdf7
authored
Jan 08, 2009
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
opengl32: Use INT_PTR instead of ptrdiff_t in generated code to avoid printf warnings.
parent
c7254615
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
8 deletions
+8
-8
make_opengl
dlls/opengl32/make_opengl
+8
-8
opengl_ext.c
dlls/opengl32/opengl_ext.c
+0
-0
No files found.
dlls/opengl32/make_opengl
View file @
fdd1bdf7
...
@@ -119,10 +119,10 @@ my %debug_conv =
...
@@ -119,10 +119,10 @@ my %debug_conv =
"GLuint"
=>
"%d"
,
"GLuint"
=>
"%d"
,
"GLushort"
=>
"%d"
,
"GLushort"
=>
"%d"
,
"GLhalfNV"
=>
"%d"
,
"GLhalfNV"
=>
"%d"
,
"GLintptrARB"
=>
"%d"
,
"GLintptrARB"
=>
"%
l
d"
,
"GLsizeiptrARB"
=>
"%d"
,
"GLsizeiptrARB"
=>
"%
l
d"
,
"GLintptr"
=>
"%d"
,
"GLintptr"
=>
"%
l
d"
,
"GLsizeiptr"
=>
"%d"
,
"GLsizeiptr"
=>
"%
l
d"
,
"GLhandleARB"
=>
"%d"
,
"GLhandleARB"
=>
"%d"
,
"GLcharARB"
=>
"%c"
,
"GLcharARB"
=>
"%c"
,
"GLvoid"
=>
"(void)"
,
"GLvoid"
=>
"(void)"
,
...
@@ -166,10 +166,10 @@ sub ConvertType($)
...
@@ -166,10 +166,10 @@ sub ConvertType($)
my
(
$type
)
=
@_
;
my
(
$type
)
=
@_
;
my
%
hash
=
(
"GLstring"
=>
"const GLubyte *"
,
my
%
hash
=
(
"GLstring"
=>
"const GLubyte *"
,
"GLintptrARB"
=>
"
ptrdiff_t
"
,
"GLintptrARB"
=>
"
INT_PTR
"
,
"GLsizeiptrARB"
=>
"
ptrdiff_t
"
,
"GLsizeiptrARB"
=>
"
INT_PTR
"
,
"GLintptr"
=>
"
ptrdiff_t
"
,
"GLintptr"
=>
"
INT_PTR
"
,
"GLsizeiptr"
=>
"
ptrdiff_t
"
,
"GLsizeiptr"
=>
"
INT_PTR
"
,
"GLhandleARB"
=>
"unsigned int"
,
"GLhandleARB"
=>
"unsigned int"
,
"GLcharARB"
=>
"char"
,
"GLcharARB"
=>
"char"
,
"GLchar"
=>
"char"
,
"GLchar"
=>
"char"
,
...
...
dlls/opengl32/opengl_ext.c
View file @
fdd1bdf7
This diff is collapsed.
Click to expand it.
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