[Bf-committers] [Bf-blender-cvs] SVN commit: /data/svn/bf-blender [40579] trunk/blender/source/blender/ editors: replace strnlen with BLI_strnlen, make some args const - no functional changes.

jmsoler at free.fr jmsoler at free.fr
Mon Sep 26 22:19:55 CEST 2011


Selon Campbell Barton <ideasman42 at gmail.com>:

> Revision: 40579
>
>
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=40579
> Author:   campbellbarton
> Date:     2011-09-26 17:30:56 +0000 (Mon, 26 Sep 2011)
> Log Message:
> -----------
> replace strnlen with BLI_strnlen, make some args const - no functional
> changes.
>
> Modified: trunk/blender/source/blender/editors/include/UI_interface.h
> ===================================================================
> 17:30:56 UTC (rev 40579)
> @@ -576,7 +576,7 @@
>
>  typedef struct AutoComplete AutoComplete;
>
> -AutoComplete *autocomplete_begin(const char *startname, int maxlen);
> +AutoComplete *autocomplete_begin(const char *startname, size_t maxlen);

size_t returns an error under msvc.

jms


More information about the Bf-committers mailing list