[vlc-devel] commit: A couple more obvious missing (int64_t) cast fixes. (JP Dinger )
git version control
git at videolan.org
Fri May 29 14:45:06 CEST 2009
vlc | branch: master | JP Dinger <jpd at videolan.org> | Fri May 29 14:43:16 2009 +0200| [048c897eb3fa413455846ab5b74ca970f6f6d402] | committer: JP Dinger
A couple more obvious missing (int64_t) cast fixes.
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=048c897eb3fa413455846ab5b74ca970f6f6d402
---
modules/access/bda/bda.c | 8 ++++----
modules/access/dv.c | 8 ++++----
modules/access/dvb/access.c | 8 ++++----
modules/access/rtp/rtp.c | 2 +-
modules/access/rtsp/access.c | 8 ++++----
modules/access/udp.c | 8 ++++----
modules/access/vcd/vcd.c | 8 ++++----
7 files changed, 25 insertions(+), 25 deletions(-)
diff --git a/modules/access/bda/bda.c b/modules/access/bda/bda.c
index 04add86..7827893 100644
--- a/modules/access/bda/bda.c
+++ b/modules/access/bda/bda.c
@@ -15,9 +15,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
@@ -556,7 +556,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
break;
case ACCESS_GET_PTS_DELAY: /* 5 */
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "dvb-caching" ) * 1000;
+ *pi_64 = (int64_t)var_GetInteger( p_access, "dvb-caching" ) * 1000;
break;
/* */
case ACCESS_GET_TITLE_INFO: /* 6 */
diff --git a/modules/access/dv.c b/modules/access/dv.c
index f611a04..fe4dfa7 100644
--- a/modules/access/dv.c
+++ b/modules/access/dv.c
@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
@@ -312,7 +312,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "dv-caching" ) * 1000;
+ *pi_64 = (int64_t)var_GetInteger( p_access, "dv-caching" ) * 1000;
break;
/* */
diff --git a/modules/access/dvb/access.c b/modules/access/dvb/access.c
index 45db9fc..df8cd1c 100644
--- a/modules/access/dvb/access.c
+++ b/modules/access/dvb/access.c
@@ -18,9 +18,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
@@ -733,7 +733,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "dvb-caching" ) * 1000;
+ *pi_64 = (int64_t)var_GetInteger( p_access, "dvb-caching" ) * 1000;
break;
/* */
diff --git a/modules/access/rtp/rtp.c b/modules/access/rtp/rtp.c
index 15075ad..90bbe4f 100644
--- a/modules/access/rtp/rtp.c
+++ b/modules/access/rtp/rtp.c
@@ -372,7 +372,7 @@ static int Control (demux_t *demux, int i_query, va_list args)
case DEMUX_GET_PTS_DELAY:
{
int64_t *v = va_arg (args, int64_t *);
- *v = p_sys->caching * 1000;
+ *v = (int64_t)p_sys->caching * 1000;
return VLC_SUCCESS;
}
diff --git a/modules/access/rtsp/access.c b/modules/access/rtsp/access.c
index 0115d30..ae9b23d 100644
--- a/modules/access/rtsp/access.c
+++ b/modules/access/rtsp/access.c
@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
@@ -343,7 +343,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "realrtsp-caching" ) * 1000;
+ *pi_64 = (int64_t)var_GetInteger(p_access,"realrtsp-caching")*1000;
break;
/* */
diff --git a/modules/access/udp.c b/modules/access/udp.c
index 433ccfb..765c2d0 100644
--- a/modules/access/udp.c
+++ b/modules/access/udp.c
@@ -23,9 +23,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
@@ -205,7 +205,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "udp-caching" ) * 1000;
+ *pi_64 = (int64_t)var_GetInteger(p_access,"udp-caching") * 1000;
break;
/* */
diff --git a/modules/access/vcd/vcd.c b/modules/access/vcd/vcd.c
index 96e400c..822aba6 100644
--- a/modules/access/vcd/vcd.c
+++ b/modules/access/vcd/vcd.c
@@ -16,9 +16,9 @@
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
* GNU General Public License for more details.
*
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, write to the Free Software
- * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
+ * You should have received a copy of the GNU General Public License along
+ * with this program; if not, write to the Free Software Foundation, Inc.,
+ * 51 Franklin Street, Fifth Floor, Boston MA 02110-1301, USA.
*****************************************************************************/
/*****************************************************************************
@@ -261,7 +261,7 @@ static int Control( access_t *p_access, int i_query, va_list args )
/* */
case ACCESS_GET_PTS_DELAY:
pi_64 = (int64_t*)va_arg( args, int64_t * );
- *pi_64 = var_GetInteger( p_access, "vcd-caching" ) * 1000;
+ *pi_64 = (int64_t)var_GetInteger(p_access,"vcd-caching") * 1000;
break;
/* */
More information about the vlc-devel
mailing list