~ubuntu-branches/ubuntu/raring/heimdal/raring

« back to all changes in this revision

Viewing changes to kadmin/check.c

  • Committer: Bazaar Package Importer
  • Author(s): Jelmer Vernooij
  • Date: 2011-07-21 17:40:58 UTC
  • mfrom: (1.1.12 upstream) (2.4.10 experimental)
  • Revision ID: james.westby@ubuntu.com-20110721174058-byiuowgocek307cs
Tags: 1.5~pre2+git20110720-2
Fix dependency on pthreads when building on Linux 3.0.

Show diffs side-by-side

added added

removed removed

Lines of Context:
86
86
        ret = krb5_enctype_keysize(context,
87
87
                                   princ.key_data[i].key_data_type[0],
88
88
                                   &keysize);
89
 
        if (ret == 0 && keysize != princ.key_data[i].key_data_length[0]) {
 
89
        if (ret == 0 && keysize != (size_t)princ.key_data[i].key_data_length[0]) {
90
90
            krb5_warnx(context,
91
91
                       "Principal %s enctype %d, wrong length: %lu\n",
92
92
                       name, princ.key_data[i].key_data_type[0],