mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-27 00:57:50 +00:00
Use u_int32_t instead of u_int32. This makes this port compatible with
the new uclmmbase port (on its way).
This commit is contained in:
parent
89d4bd1d77
commit
f830a71bdf
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=26661
20
mbone/rqm/files/patch-ab
Normal file
20
mbone/rqm/files/patch-ab
Normal file
@ -0,0 +1,20 @@
|
||||
--- main.c.orig Wed Mar 8 08:32:07 2000
|
||||
+++ main.c Wed Mar 8 08:32:28 2000
|
||||
@@ -177,7 +177,7 @@
|
||||
char *addr;
|
||||
char *port;
|
||||
char cmd[100];
|
||||
- u_int32 curr_rtp_time;
|
||||
+ u_int32_t curr_rtp_time;
|
||||
#ifdef WIN32
|
||||
WSADATA WSAdata;
|
||||
if (WSAStartup(WS_VERSION_TWO, &WSAdata) != 0 && WSAStartup(WS_VERSION_ONE, &WSAdata) != 0) {
|
||||
@@ -215,7 +215,7 @@
|
||||
rtp_set_sdes(rtp_session, rtp_my_ssrc(rtp_session), RTCP_SDES_TOOL, VERSION, strlen(VERSION));
|
||||
|
||||
gettimeofday(&prev_t, NULL);
|
||||
- curr_rtp_time = (u_int32) lrand48();
|
||||
+ curr_rtp_time = (u_int32_t) lrand48();
|
||||
while (Tk_GetNumMainWindows() > 0) {
|
||||
gettimeofday(&curr_t, NULL);
|
||||
curr_rtp_time += (int) (tv_diff(curr_t, prev_t) * 8000);
|
20
net/rqm/files/patch-ab
Normal file
20
net/rqm/files/patch-ab
Normal file
@ -0,0 +1,20 @@
|
||||
--- main.c.orig Wed Mar 8 08:32:07 2000
|
||||
+++ main.c Wed Mar 8 08:32:28 2000
|
||||
@@ -177,7 +177,7 @@
|
||||
char *addr;
|
||||
char *port;
|
||||
char cmd[100];
|
||||
- u_int32 curr_rtp_time;
|
||||
+ u_int32_t curr_rtp_time;
|
||||
#ifdef WIN32
|
||||
WSADATA WSAdata;
|
||||
if (WSAStartup(WS_VERSION_TWO, &WSAdata) != 0 && WSAStartup(WS_VERSION_ONE, &WSAdata) != 0) {
|
||||
@@ -215,7 +215,7 @@
|
||||
rtp_set_sdes(rtp_session, rtp_my_ssrc(rtp_session), RTCP_SDES_TOOL, VERSION, strlen(VERSION));
|
||||
|
||||
gettimeofday(&prev_t, NULL);
|
||||
- curr_rtp_time = (u_int32) lrand48();
|
||||
+ curr_rtp_time = (u_int32_t) lrand48();
|
||||
while (Tk_GetNumMainWindows() > 0) {
|
||||
gettimeofday(&curr_t, NULL);
|
||||
curr_rtp_time += (int) (tv_diff(curr_t, prev_t) * 8000);
|
Loading…
Reference in New Issue
Block a user