Changeset a9cfe158c44a1b2ec6f64e9cf73c15048dac4c9a
- Timestamp:
- 01/07/05 17:54:27
(3 years ago)
- Author:
- Rémi Denis-Courmont <rem@videolan.org>
- git-committer:
- Rémi Denis-Courmont <rem@videolan.org> 1120233267 +0000
- git-parent:
[56c786eb0a134b1492ce7aacfd13f9304398c97a]
- git-author:
- Rémi Denis-Courmont <rem@videolan.org> 1120233267 +0000
- Message:
Unsigned casts
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r91f2877 |
ra9cfe15 |
|
| 159 | 159 | |
|---|
| 160 | 160 | p_sys->i_ssnd_pos = stream_Tell( p_demux->s ); |
|---|
| 161 | | p_sys->i_ssnd_size= i_size; |
|---|
| | 161 | p_sys->i_ssnd_size = i_size; |
|---|
| 162 | 162 | p_sys->i_ssnd_offset = GetDWBE( &p_peek[8] ); |
|---|
| 163 | 163 | p_sys->i_ssnd_blocksize = GetDWBE( &p_peek[12] ); |
|---|
| … | … | |
| 173 | 173 | |
|---|
| 174 | 174 | /* Skip this chunk */ |
|---|
| 175 | | if( stream_Read( p_demux->s, NULL, i_size + 8 ) != i_size + 8 ) |
|---|
| | 175 | i_size += 8; |
|---|
| | 176 | if( stream_Read( p_demux->s, NULL, i_size ) != (int)i_size ) |
|---|
| 176 | 177 | { |
|---|
| 177 | 178 | msg_Warn( p_demux, "incomplete file" ); |
|---|
| r3ff2f30 |
ra9cfe15 |
|
| 2573 | 2573 | btni_t *button_ptr = &(pci->hli.btnit[button-1]); |
|---|
| 2574 | 2574 | |
|---|
| 2575 | | if((valx.i_int >= button_ptr->x_start) && (valx.i_int <= button_ptr->x_end) && |
|---|
| 2576 | | (valy.i_int >= button_ptr->y_start) && (valy.i_int <= button_ptr->y_end)) |
|---|
| | 2575 | if(((unsigned)valx.i_int >= button_ptr->x_start) |
|---|
| | 2576 | && ((unsigned)valx.i_int <= button_ptr->x_end) |
|---|
| | 2577 | && ((unsigned)valy.i_int >= button_ptr->y_start) |
|---|
| | 2578 | && ((unsigned)valy.i_int <= button_ptr->y_end)) |
|---|
| 2577 | 2579 | { |
|---|
| 2578 | 2580 | mx = (button_ptr->x_start + button_ptr->x_end)/2; |
|---|