Changeset 8c046e25b33d1107ff934045b92eb716848e9f38
- Timestamp:
- 02/10/07 13:11:53
(1 year ago)
- Author:
- Rafaël Carré <funman@videolan.org>
- git-committer:
- Rafaël Carré <funman@videolan.org> 1191323513 +0000
- git-parent:
[78f088c01aad0701b39aeac00cd3e35ad4e71368]
- git-author:
- Rafaël Carré <funman@videolan.org> 1191323513 +0000
- Message:
sap discovery: fix [22368] by using (int) casting on the unsigned size_t value
-
Files:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
- Copied
- Moved
| r1c8ba52 |
r8c046e2 |
|
| 353 | 353 | |
|---|
| 354 | 354 | i_read = stream_Read( p_demux->s, &psz_sdp[i_len], i_read_max ); |
|---|
| 355 | | if( i_read <= (size_t)-1 ) |
|---|
| | 355 | if( (int)i_read < 0 ) |
|---|
| 356 | 356 | { |
|---|
| 357 | 357 | msg_Err( p_demux, "cannot read SDP" ); |
|---|
| … | … | |
| 362 | 362 | psz_sdp[i_len] = '\0'; |
|---|
| 363 | 363 | |
|---|
| 364 | | if( i_read < (size_t)i_read_max ) |
|---|
| | 364 | if( (int)i_read < i_read_max ) |
|---|
| 365 | 365 | break; // EOF |
|---|
| 366 | 366 | } |
|---|