IPP Software Navigation Tools IPP Links Communication Pan-STARRS Links

Ignore:
Timestamp:
Dec 11, 2006, 2:31:18 PM (20 years ago)
Author:
jhoblitt
Message:

fix a snprintf format type (cast)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Nebulous/nebclient/src/nebclient.c

    r5661 r10632  
    44 * Copyright (C) 2005  Joshua Hoblitt
    55 *
    6  * $Id: nebclient.c,v 1.40 2005-12-02 23:49:08 jhoblitt Exp $
     6 * $Id: nebclient.c,v 1.41 2006-12-12 00:31:18 jhoblitt Exp $
    77 */
    88
     
    870870    *filename = xmalloc(filename_size);
    871871
    872     snprintf(*filename, filename_size, "%.*s", matchLength, URI + matchStart);
     872    snprintf(*filename, filename_size, "%.*s", (int)matchLength, URI + matchStart);
    873873
    874874    return strlen(*filename);
Note: See TracChangeset for help on using the changeset viewer.