Changeset 44372f182926a8aa8ea5d182a951919357270930
- Timestamp:
- 09/04/08 10:42:29
(8 months ago)
- Author:
- Jean-Paul Saman <jean-paul.saman@m2x.nl>
- git-committer:
- Jean-Paul Saman <jean-paul.saman@m2x.nl> 1207730549 +0200
- git-parent:
[60f260e0d65b8dce96f356dda73f5dc31a6ff705]
- git-author:
- Jean-Paul Saman <jean-paul.saman@m2x.nl> 1206528618 +0100
- Message:
Fix compiler warnings.
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r16d46a1 |
r44372f1 |
|
| 1 | | all: zsh overlay-test |
|---|
| | 1 | all: overlay-test |
|---|
| 2 | 2 | |
|---|
| 3 | 3 | overlay-test: overlay-test.c |
|---|
| r60f260e |
r44372f1 |
|
| 273 | 273 | printf( "Attaching shared memory for RGBA..." ); |
|---|
| 274 | 274 | p_imageRGBA = shmat( i_shmRGBA, NULL, 0 ); |
|---|
| 275 | | if( p_imageRGBA == -1 ) { |
|---|
| | 275 | if( p_imageRGBA == (void*)-1 ) { |
|---|
| 276 | 276 | printf( " failed\n" ); |
|---|
| 277 | 277 | exit( -1 ); |
|---|
| … | … | |
| 279 | 279 | printf( " done. Text..." ); |
|---|
| 280 | 280 | p_text = shmat( i_shmText, NULL, 0 ); |
|---|
| 281 | | if( p_text == -1 ) { |
|---|
| | 281 | if( p_text == (void*)-1 ) { |
|---|
| 282 | 282 | printf( " failed\n" ); |
|---|
| 283 | 283 | exit( -1 ); |
|---|