libanim

changeset 17:821411647b40

fixed a missing const in anm_copy_track
author John Tsiombikas <nuclear@member.fsf.org>
date Thu, 14 Nov 2013 05:15:08 +0200
parents 0409e7e61d64
children 2317c40b8dcb
files src/track.c src/track.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line diff
     1.1 --- a/src/track.c	Sun Sep 29 02:14:51 2013 +0300
     1.2 +++ b/src/track.c	Thu Nov 14 05:15:08 2013 +0200
     1.3 @@ -69,7 +69,7 @@
     1.4  	free(track);
     1.5  }
     1.6  
     1.7 -void anm_copy_track(struct anm_track *dest, struct anm_track *src)
     1.8 +void anm_copy_track(struct anm_track *dest, const struct anm_track *src)
     1.9  {
    1.10  	free(dest->name);
    1.11  	if(dest->keys) {
     2.1 --- a/src/track.h	Sun Sep 29 02:14:51 2013 +0300
     2.2 +++ b/src/track.h	Thu Nov 14 05:15:08 2013 +0200
     2.3 @@ -59,7 +59,7 @@
     2.4  /* copies track src to dest
     2.5   * XXX: dest must have been initialized first
     2.6   */
     2.7 -void anm_copy_track(struct anm_track *dest, struct anm_track *src);
     2.8 +void anm_copy_track(struct anm_track *dest, const struct anm_track *src);
     2.9  
    2.10  int anm_set_track_name(struct anm_track *track, const char *name);
    2.11  const char *anm_get_track_name(struct anm_track *track);