diff options
author | fenner <fenner@FreeBSD.org> | 2000-03-09 00:38:20 +0800 |
---|---|---|
committer | fenner <fenner@FreeBSD.org> | 2000-03-09 00:38:20 +0800 |
commit | b234ef5c2ab05068119b6f57eeb2bb7897f1d621 (patch) | |
tree | 8ce76281b76f48bd61d318522848454f57f24587 /mbone/rqm | |
parent | cd2d9a8212f0d12ba0405d35b5de1dcd42e7e7de (diff) | |
download | freebsd-ports-graphics-b234ef5c2ab05068119b6f57eeb2bb7897f1d621.tar.gz freebsd-ports-graphics-b234ef5c2ab05068119b6f57eeb2bb7897f1d621.tar.zst freebsd-ports-graphics-b234ef5c2ab05068119b6f57eeb2bb7897f1d621.zip |
Use u_int32_t instead of u_int32. This makes this port compatible with
the new uclmmbase port (on its way).
Diffstat (limited to 'mbone/rqm')
-rw-r--r-- | mbone/rqm/files/patch-ab | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/mbone/rqm/files/patch-ab b/mbone/rqm/files/patch-ab new file mode 100644 index 00000000000..826bea2a47e --- /dev/null +++ b/mbone/rqm/files/patch-ab @@ -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); |