From 6ea2c23869bdb0fe6b96fb59c58b71c00f794bfc Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Moutte?= Date: Sun, 9 Apr 2006 18:30:51 +0000 Subject: ext/neon/gstneonhttpsrc.c: remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32) Original commit message from CVS: * ext/neon/gstneonhttpsrc.c: (gst_neonhttp_src_start): remove atoll by using g_ascii_strtoull (atoll is not supported on WIN32) * sys/directdraw/gstdirectdrawsink.c: * sys/directsound/gstdirectsoundsink.c: done some cleans in sources * win32/vs6: add project files for neon, qtdemux --- ext/neon/gstneonhttpsrc.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'ext/neon') diff --git a/ext/neon/gstneonhttpsrc.c b/ext/neon/gstneonhttpsrc.c index 7cc11383..00019cce 100644 --- a/ext/neon/gstneonhttpsrc.c +++ b/ext/neon/gstneonhttpsrc.c @@ -352,7 +352,7 @@ gst_neonhttp_src_start (GstBaseSrc * bsrc) content_length = ne_get_response_header (src->request, "Content-Length"); if (content_length) { - src->content_size = atoll (content_length); + src->content_size = g_ascii_strtoull (content_length, NULL, 10); } else { src->content_size = -1; } @@ -710,7 +710,7 @@ size_header_handler (void *userdata, const char *value) { GstNeonhttpSrc *src = GST_NEONHTTP_SRC (userdata); - src->content_size = atoll (value); + src->content_size = g_ascii_strtoull (value, NULL, 10); GST_DEBUG ("content size = %lld bytes", src->content_size); } -- cgit v1.2.1