Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-gpu
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Redmine
Redmine
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Metrics
Environments
Analytics
Analytics
CI / CD
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
videolan
vlc-gpu
Commits
44372f18
Commit
44372f18
authored
Mar 26, 2008
by
Jean-Paul Saman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix compiler warnings.
parent
60f260e0
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
extras/misc/Makefile
extras/misc/Makefile
+1
-1
extras/misc/overlay-test.c
extras/misc/overlay-test.c
+2
-2
No files found.
extras/misc/Makefile
View file @
44372f18
all
:
zsh
overlay-test
all
:
overlay-test
overlay-test
:
overlay-test.c
overlay-test
:
overlay-test.c
gcc
-g2
--std
=
c99
-D_XOPEN_SOURCE
=
500 overlay-test.c
-lm
-o
overlay-test
gcc
-g2
--std
=
c99
-D_XOPEN_SOURCE
=
500 overlay-test.c
-lm
-o
overlay-test
extras/misc/overlay-test.c
View file @
44372f18
...
@@ -272,13 +272,13 @@ int main( int i_argc, char *ppsz_argv[] ) {
...
@@ -272,13 +272,13 @@ int main( int i_argc, char *ppsz_argv[] ) {
printf
(
"Attaching shared memory for RGBA..."
);
printf
(
"Attaching shared memory for RGBA..."
);
p_imageRGBA
=
shmat
(
i_shmRGBA
,
NULL
,
0
);
p_imageRGBA
=
shmat
(
i_shmRGBA
,
NULL
,
0
);
if
(
p_imageRGBA
==
-
1
)
{
if
(
p_imageRGBA
==
(
void
*
)
-
1
)
{
printf
(
" failed
\n
"
);
printf
(
" failed
\n
"
);
exit
(
-
1
);
exit
(
-
1
);
}
}
printf
(
" done. Text..."
);
printf
(
" done. Text..."
);
p_text
=
shmat
(
i_shmText
,
NULL
,
0
);
p_text
=
shmat
(
i_shmText
,
NULL
,
0
);
if
(
p_text
==
-
1
)
{
if
(
p_text
==
(
void
*
)
-
1
)
{
printf
(
" failed
\n
"
);
printf
(
" failed
\n
"
);
exit
(
-
1
);
exit
(
-
1
);
}
}
...
...
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