summaryrefslogtreecommitdiff
path: root/sys/wininet
diff options
context:
space:
mode:
authorРуслан Ижбулатов <lrn1986@gmail.com>2010-04-29 04:42:21 +0400
committerBenjamin Otte <otte@redhat.com>2010-04-29 10:17:56 +0200
commit5f25780b02c34a479b143783f18d53a60dc03dbc (patch)
tree6a466973af83d4b13e8aaf62b66411bd11a0536b /sys/wininet
parent259841d71fa6696de9d2e7ee0e58a7b1d4724ffe (diff)
downloadgstreamer-plugins-bad-5f25780b02c34a479b143783f18d53a60dc03dbc.tar.gz
Fix printf format strings for gcc 4.5
Done on Windows/MinGW. Fixes #617146
Diffstat (limited to 'sys/wininet')
-rw-r--r--sys/wininet/gstwininetsrc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/wininet/gstwininetsrc.c b/sys/wininet/gstwininetsrc.c
index 24b719c40..b29b4de74 100644
--- a/sys/wininet/gstwininetsrc.c
+++ b/sys/wininet/gstwininetsrc.c
@@ -271,7 +271,7 @@ gst_win_inet_src_get_header_value_as_int (GstWinInetSrc * self,
error_str = "ERROR_HTTP_HEADER_NOT_FOUND";
GST_WARNING_OBJECT (self, "HttpQueryInfo for header '%s' failed: %s "
- "(0x%08x)", header_name, error_str, error_code);
+ "(0x%08lx)", header_name, error_str, error_code);
}
return FALSE;
@@ -314,7 +314,7 @@ gst_win_inet_src_open (GstWinInetSrc * self)
error:
GST_ELEMENT_ERROR (self, RESOURCE, NOT_FOUND, (NULL),
- ("Could not open location \"%s\" for reading: 0x%08x",
+ ("Could not open location \"%s\" for reading: 0x%08lx",
self->location, GetLastError ()));
gst_win_inet_src_reset (self);
@@ -372,7 +372,7 @@ gst_win_inet_src_create (GstPushSrc * pushsrc, GstBuffer ** buffer)
}
}
} else {
- GST_ERROR_OBJECT (self, "InternetReadFile failed: 0x%08x",
+ GST_ERROR_OBJECT (self, "InternetReadFile failed: 0x%08lx",
GetLastError ());
ret = GST_FLOW_ERROR;