~ubuntu-branches/ubuntu/hardy/klibc/hardy-updates

« back to all changes in this revision

Viewing changes to klibc/strncasecmp.c

  • Committer: Bazaar Package Importer
  • Author(s): Jeff Bailey
  • Date: 2006-01-04 20:24:52 UTC
  • mfrom: (1.1.1 upstream)
  • Revision ID: james.westby@ubuntu.com-20060104202452-ec4v3n829rymukuv
Tags: 1.1.15-0ubuntu1
* New upstream version.

* Patch to fix compilation on parisc64 kernels.

Show diffs side-by-side

added added

removed removed

Lines of Context:
7
7
 
8
8
int strncasecmp(const char *s1, const char *s2, size_t n)
9
9
{
10
 
  const unsigned char *c1 = s1, *c2 = s2;
 
10
  const unsigned char *c1 = (const unsigned char *)s1;
 
11
  const unsigned char *c2 = (const unsigned char *)s2;
11
12
  unsigned char ch;
12
13
  int d = 0;
13
14