Revision: 48475
          
http://projects.blender.org/scm/viewvc.php?view=rev&root=bf-blender&revision=48475
Author:   campbellbarton
Date:     2012-07-01 22:19:19 +0000 (Sun, 01 Jul 2012)
Log Message:
-----------
code cleanup: minor edits

Modified Paths:
--------------
    trunk/blender/source/blender/blenlib/BLI_fileops.h
    trunk/blender/source/blender/blenlib/intern/storage.c
    trunk/blender/source/blender/imbuf/intern/anim_movie.c
    trunk/blender/source/blender/windowmanager/wm_window.h

Modified: trunk/blender/source/blender/blenlib/BLI_fileops.h
===================================================================
--- trunk/blender/source/blender/blenlib/BLI_fileops.h  2012-07-01 20:38:07 UTC 
(rev 48474)
+++ trunk/blender/source/blender/blenlib/BLI_fileops.h  2012-07-01 22:19:19 UTC 
(rev 48475)
@@ -65,7 +65,7 @@
 int    BLI_is_file(const char *path);
 void   BLI_dir_create_recursive(const char *dir);
 double BLI_dir_free_space(const char *dir);
-char  *BLI_current_working_dir(char *dir, const int maxlen);
+char  *BLI_current_working_dir(char *dir, const size_t maxlen);
 
 unsigned int BLI_dir_contents(const char *dir, struct direntry **filelist);
 

Modified: trunk/blender/source/blender/blenlib/intern/storage.c
===================================================================
--- trunk/blender/source/blender/blenlib/intern/storage.c       2012-07-01 
20:38:07 UTC (rev 48474)
+++ trunk/blender/source/blender/blenlib/intern/storage.c       2012-07-01 
22:19:19 UTC (rev 48475)
@@ -102,7 +102,7 @@
 static struct ListBase *dirbase = &dirbase_;
 
 /* can return NULL when the size is not big enough */
-char *BLI_current_working_dir(char *dir, const int maxncpy)
+char *BLI_current_working_dir(char *dir, const size_t maxncpy)
 {
        const char *pwd = getenv("PWD");
        if (pwd) {

Modified: trunk/blender/source/blender/imbuf/intern/anim_movie.c
===================================================================
--- trunk/blender/source/blender/imbuf/intern/anim_movie.c      2012-07-01 
20:38:07 UTC (rev 48474)
+++ trunk/blender/source/blender/imbuf/intern/anim_movie.c      2012-07-01 
22:19:19 UTC (rev 48475)
@@ -64,7 +64,7 @@
 #include <io.h>
 #endif
 
-#include "BLI_blenlib.h" /* BLI_remlink BLI_filesize BLI_addtail
+#include "BLI_blenlib.h" /* BLI_remlink BLI_file_descriptor_size BLI_addtail
                           * BLI_countlist BLI_stringdec */
 #include "BLI_utildefines.h"
 #include "BLI_math_base.h"

Modified: trunk/blender/source/blender/windowmanager/wm_window.h
===================================================================
--- trunk/blender/source/blender/windowmanager/wm_window.h      2012-07-01 
20:38:07 UTC (rev 48474)
+++ trunk/blender/source/blender/windowmanager/wm_window.h      2012-07-01 
22:19:19 UTC (rev 48475)
@@ -56,7 +56,7 @@
 void           wm_window_lower                 (wmWindow *win);
 void           wm_window_set_size              (wmWindow *win, int width, int 
height);
 void           wm_window_get_size              (wmWindow *win, int *width_r, 
int *height_r);
-void           wm_window_get_size_ghost        (wmWindow *win, int *width_r, 
int *height_r);
+void           wm_window_get_size_ghost(wmWindow *win, int *width_r, int 
*height_r);
 void           wm_window_get_position  (wmWindow *win, int *posx_r, int 
*posy_r);
 void           wm_window_swap_buffers  (wmWindow *win);
 

_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs

Reply via email to