Ignore:
Timestamp:
Nov 27, 2012, 4:43:17 PM (13 years ago)
Author:
Silvan Scherrer
Message:

Samba Server: updated trunk to 3.6.0

Location:
trunk/server
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/server

  • trunk/server/source3/web/neg_lang.c

    r414 r745  
    2121#include "includes.h"
    2222#include "web/swat_proto.h"
     23#include "intl/lang_tdb.h"
    2324
    2425/*
     
    5253};
    5354
    54 static int qsort_cmp_list(const void *x, const void *y) {
    55         struct pri_list *a = (struct pri_list *)x;
    56         struct pri_list *b = (struct pri_list *)y;
     55static int qsort_cmp_list(struct pri_list *a, struct pri_list *b)
     56{
    5757        if (a->pri > b->pri) return -1;
    5858        if (a->pri < b->pri) return 1;
     
    102102        TALLOC_FREE(lang_list);
    103103
    104         qsort(pl, lang_num, sizeof(struct pri_list), &qsort_cmp_list);
     104        TYPESAFE_QSORT(pl, lang_num, qsort_cmp_list);
    105105
    106106        /* it's not an error to not initialise - we just fall back to
Note: See TracChangeset for help on using the changeset viewer.