changeset 377:4e1d41a93cb3 trunk

[svn] Start caring about pointer signedness.
author chainsaw
date Sun, 01 Jan 2006 06:40:46 -0800
parents 94507b102cdb
children 5dea127040da
files Plugins/Input/aac/src/aac_utils.c Plugins/Input/flac/http.c Plugins/Input/mpg123/http.c Plugins/Input/vorbis/http.c audacious/controlsocket.c
diffstat 5 files changed, 8 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/Plugins/Input/aac/src/aac_utils.c	Sun Jan 01 05:35:17 2006 -0800
+++ b/Plugins/Input/aac/src/aac_utils.c	Sun Jan 01 06:40:46 2006 -0800
@@ -51,9 +51,9 @@
 {
   unsigned long	originPosition;
   unsigned long	position;
-  unsigned char	header[ADTS_HEADER_SIZE];
   unsigned int	frameCount, frameLength, frameInsec;
   unsigned int	id=0, seconds=0;
+  char header[ADTS_HEADER_SIZE];
 
   originPosition = ftell(fd);
 
--- a/Plugins/Input/flac/http.c	Sun Jan 01 05:35:17 2006 -0800
+++ b/Plugins/Input/flac/http.c	Sun Jan 01 06:40:46 2006 -0800
@@ -347,7 +347,8 @@
 	gchar line[1024], *user, *pass, *host, *filename,
 	     *status, *url, *temp, *file;
 	gchar *chost;
-	gint cnt, error, err_len, port, cport;
+	gint cnt, error, port, cport;
+	guint err_len;
 	gboolean redirect;
 	int udp_sock = 0;
 	fd_set set;
--- a/Plugins/Input/mpg123/http.c	Sun Jan 01 05:35:17 2006 -0800
+++ b/Plugins/Input/mpg123/http.c	Sun Jan 01 06:40:46 2006 -0800
@@ -340,7 +340,8 @@
     gchar line[1024], *user, *pass, *host, *filename,
         *status, *url, *temp, *file;
     gchar *chost;
-    gint cnt, written, error, err_len, port, cport;
+    gint cnt, written, error, port, cport;
+    guint err_len;
     gboolean redirect;
     gint udp_sock = 0;
     fd_set set;
--- a/Plugins/Input/vorbis/http.c	Sun Jan 01 05:35:17 2006 -0800
+++ b/Plugins/Input/vorbis/http.c	Sun Jan 01 06:40:46 2006 -0800
@@ -294,7 +294,8 @@
     gchar line[1024], *user, *pass, *host, *filename,
         *status, *url, *temp, *file;
     gchar *chost;
-    gint cnt, written, error, err_len, port, cport;
+    gint cnt, written, error, port, cport;
+    guint err_len;
     gboolean redirect;
     fd_set set;
     struct hostent *hp;
--- a/audacious/controlsocket.c	Sun Jan 01 05:35:17 2006 -0800
+++ b/audacious/controlsocket.c	Sun Jan 01 06:40:46 2006 -0800
@@ -288,7 +288,7 @@
     struct timeval tv;
     struct sockaddr_un saddr;
     gint fd, b, i;
-    guint32 info[3];
+    gint info[3];
     gint32 v[2];
     PacketNode *pkt;
     socklen_t len;