Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
V
vlc-2-2
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-2-2
Commits
ffb865e6
Commit
ffb865e6
authored
Mar 29, 2006
by
Felix Paul Kühne
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* fixed a few signedness warnings. Please shout if this accidentally breaks something.
parent
67b0c28a
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
4 deletions
+6
-4
modules/access/mms/mmstu.c
modules/access/mms/mmstu.c
+1
-1
modules/control/netsync.c
modules/control/netsync.c
+2
-1
modules/misc/xml/libxml.c
modules/misc/xml/libxml.c
+2
-1
src/misc/modules.c
src/misc/modules.c
+1
-1
No files found.
modules/access/mms/mmstu.c
View file @
ffb865e6
...
@@ -678,7 +678,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
...
@@ -678,7 +678,7 @@ static int MMSOpen( access_t *p_access, vlc_url_t *p_url, int i_proto )
GetDWLE
(
p_sys
->
p_cmd
+
MMS_CMD_HEADERSIZE
+
60
);
GetDWLE
(
p_sys
->
p_cmd
+
MMS_CMD_HEADERSIZE
+
60
);
msg_Dbg
(
p_access
,
msg_Dbg
(
p_access
,
"answer 0x06 flags:0x%8.8x media_length:%us packet_length:%u packet_count:%u max_bit_rate:%d header_size:%d"
,
"answer 0x06 flags:0x%8.8x media_length:%us packet_length:%
l
u packet_count:%u max_bit_rate:%d header_size:%d"
,
p_sys
->
i_flags_broadcast
,
p_sys
->
i_flags_broadcast
,
p_sys
->
i_media_length
,
p_sys
->
i_media_length
,
p_sys
->
i_packet_length
,
p_sys
->
i_packet_length
,
...
...
modules/control/netsync.c
View file @
ffb865e6
...
@@ -211,7 +211,8 @@ static void Run( intf_thread_t *p_intf )
...
@@ -211,7 +211,8 @@ static void Run( intf_thread_t *p_intf )
/* We received something */
/* We received something */
i_struct_size
=
sizeof
(
from
);
i_struct_size
=
sizeof
(
from
);
i_read
=
recvfrom
(
i_socket
,
p_data
,
MAX_MSG_LENGTH
,
0
,
i_read
=
recvfrom
(
i_socket
,
p_data
,
MAX_MSG_LENGTH
,
0
,
(
struct
sockaddr
*
)
&
from
,
&
i_struct_size
);
(
struct
sockaddr
*
)
&
from
,
(
unsigned
int
*
)
&
i_struct_size
);
i_clockref
=
ntoh64
(
*
(
int64_t
*
)
p_data
);
i_clockref
=
ntoh64
(
*
(
int64_t
*
)
p_data
);
...
...
modules/misc/xml/libxml.c
View file @
ffb865e6
...
@@ -99,7 +99,8 @@ static void CatalogLoad( xml_t *p_xml, const char *psz_filename )
...
@@ -99,7 +99,8 @@ static void CatalogLoad( xml_t *p_xml, const char *psz_filename )
static
void
CatalogAdd
(
xml_t
*
p_xml
,
const
char
*
psz_arg1
,
static
void
CatalogAdd
(
xml_t
*
p_xml
,
const
char
*
psz_arg1
,
const
char
*
psz_arg2
,
const
char
*
psz_filename
)
const
char
*
psz_arg2
,
const
char
*
psz_filename
)
{
{
xmlCatalogAdd
(
psz_arg1
,
psz_arg2
,
psz_filename
);
xmlCatalogAdd
(
(
unsigned
char
*
)
psz_arg1
,
(
unsigned
char
*
)
psz_arg2
,
(
unsigned
char
*
)
psz_filename
);
}
}
/*****************************************************************************
/*****************************************************************************
...
...
src/misc/modules.c
View file @
ffb865e6
...
@@ -2132,7 +2132,7 @@ static char *CacheName( void )
...
@@ -2132,7 +2132,7 @@ static char *CacheName( void )
/* Code int size, pointer size and endianness in the filename */
/* Code int size, pointer size and endianness in the filename */
int32_t
x
=
0xbe00001e
;
int32_t
x
=
0xbe00001e
;
sprintf
(
psz_cachename
,
"plugins-%.2
x%.2
x%.2x.dat"
,
sizeof
(
int
),
sprintf
(
psz_cachename
,
"plugins-%.2
lx%.2l
x%.2x.dat"
,
sizeof
(
int
),
sizeof
(
void
*
),
(
unsigned
int
)((
unsigned
char
*
)
&
x
)[
0
]
);
sizeof
(
void
*
),
(
unsigned
int
)((
unsigned
char
*
)
&
x
)[
0
]
);
return
psz_cachename
;
return
psz_cachename
;
}
}
...
...
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