aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>2006-04-09 02:25:22 +0000
committerddennedy <ddennedy@53a565d1-3bb7-0310-b661-cf11e63c67ab>2006-04-09 02:25:22 +0000
commit45503d30d39110d54b4a95d7bc18d793042dd3bb (patch)
tree292aad9889b1d3ce0581ca926e4ad58e04ca5f66
parente5d5603758ae9f4d04e3ac3ed0f2b966be329475 (diff)
downloadlibraw1394-45503d30d39110d54b4a95d7bc18d793042dd3bb.tar.gz
cleanup some compiler warnings
git-svn-id: svn://svn.linux1394.org/libraw1394/trunk@165 53a565d1-3bb7-0310-b661-cf11e63c67ab
-rw-r--r--INSTALL27
-rw-r--r--src/eventloop.c2
-rw-r--r--tools/sendiso.c2
3 files changed, 18 insertions, 13 deletions
diff --git a/INSTALL b/INSTALL
index 095b1eb..23e5f25 100644
--- a/INSTALL
+++ b/INSTALL
@@ -1,7 +1,7 @@
Installation Instructions
*************************
-Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004 Free
+Copyright (C) 1994, 1995, 1996, 1999, 2000, 2001, 2002, 2004, 2005 Free
Software Foundation, Inc.
This file is free documentation; the Free Software Foundation gives
@@ -102,16 +102,16 @@ for another architecture.
Installation Names
==================
-By default, `make install' will install the package's files in
-`/usr/local/bin', `/usr/local/man', etc. You can specify an
-installation prefix other than `/usr/local' by giving `configure' the
-option `--prefix=PREFIX'.
+By default, `make install' installs the package's commands under
+`/usr/local/bin', include files under `/usr/local/include', etc. You
+can specify an installation prefix other than `/usr/local' by giving
+`configure' the option `--prefix=PREFIX'.
You can specify separate installation prefixes for
architecture-specific files and architecture-independent files. If you
-give `configure' the option `--exec-prefix=PREFIX', the package will
-use PREFIX as the prefix for installing programs and libraries.
-Documentation and other data files will still use the regular prefix.
+pass the option `--exec-prefix=PREFIX' to `configure', the package uses
+PREFIX as the prefix for installing programs and libraries.
+Documentation and other data files still use the regular prefix.
In addition, if you use an unusual directory layout you can give
options like `--bindir=DIR' to specify different values for particular
@@ -159,7 +159,7 @@ where SYSTEM can have one of these forms:
need to know the machine type.
If you are _building_ compiler tools for cross-compiling, you should
-use the `--target=TYPE' option to select the type of system they will
+use the option `--target=TYPE' to select the type of system they will
produce code for.
If you want to _use_ a cross compiler, that generates code for a
@@ -189,8 +189,13 @@ them in the `configure' command line, using `VAR=value'. For example:
./configure CC=/usr/local2/bin/gcc
-will cause the specified gcc to be used as the C compiler (unless it is
-overridden in the site shell script).
+causes the specified `gcc' to be used as the C compiler (unless it is
+overridden in the site shell script). Here is a another example:
+
+ /bin/bash ./configure CONFIG_SHELL=/bin/bash
+
+Here the `CONFIG_SHELL=/bin/bash' operand causes subsequent
+configuration-related scripts to be executed by `/bin/bash'.
`configure' Invocation
======================
diff --git a/src/eventloop.c b/src/eventloop.c
index 5c3fc03..0ddd455 100644
--- a/src/eventloop.c
+++ b/src/eventloop.c
@@ -71,7 +71,7 @@ int raw1394_loop_iterate(struct raw1394_handle *handle)
retval = handle->fcp_handler(handle, req.misc & 0xffff,
req.misc >> 16,
req.length,
- (char *)handle->buffer);
+ (unsigned char *)handle->buffer);
}
break;
diff --git a/tools/sendiso.c b/tools/sendiso.c
index 4e2abcc..32ce4ce 100644
--- a/tools/sendiso.c
+++ b/tools/sendiso.c
@@ -143,7 +143,7 @@ void send_file_once(raw1394handle_t handle, int file)
int count, i, ret;
unsigned channel, tag, sy;
size_t length;
- static char buffer[BUF_SIZE + BUF_HEAD];
+ static unsigned char buffer[BUF_SIZE + BUF_HEAD];
static unsigned int counter = 0;
static int inited = 0;