diff options
| author | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 17:58:28 +0100 | 
|---|---|---|
| committer | Marcel Holtmann <marcel@holtmann.org> | 2009-01-29 17:58:28 +0100 | 
| commit | 9c0b5859e6cc4b7a0e925fde8665990281b265d3 (patch) | |
| tree | 8994dbe0942d56c9a7cf470fc3b2316d1f91e0a3 /tools/avinfo.c | |
| parent | 1ce81e1e0794a5d619016e17b33b533b614fc6a9 (diff) | |
Fix mostly every warning caused by -Wsign-compare
Diffstat (limited to 'tools/avinfo.c')
| -rw-r--r-- | tools/avinfo.c | 4 | 
1 files changed, 2 insertions, 2 deletions
| diff --git a/tools/avinfo.c b/tools/avinfo.c index 8f50cfd0..341c0af1 100644 --- a/tools/avinfo.c +++ b/tools/avinfo.c @@ -500,8 +500,8 @@ static int avdtp_get_caps(int sk, int seid)  	if (ret < 0)  		return ret; -	if (ret < (sizeof(struct getcap_resp) + 4 + -			sizeof(struct avdtp_media_codec_capability))) { +	if (ret < ((int) sizeof(struct getcap_resp) + 4 + +			(int) sizeof(struct avdtp_media_codec_capability))) {  		printf("Invalid capabilities\n");  		return -1;  	} | 
