fix for some pedantic warnings.

This commit is contained in:
2010-12-03 01:52:28 +00:00
parent 9e5577db47
commit b45c3363fd
54 changed files with 788 additions and 741 deletions

View File

@@ -33,7 +33,7 @@
struct wmOperatorType;
/* lorem.c */
extern char *ED_lorem;
extern const char ED_lorem[];
/* editfont.c */
enum { DEL_ALL, DEL_NEXT_CHAR, DEL_PREV_CHAR, DEL_SELECTION, DEL_NEXT_SEL, DEL_PREV_SEL };

View File

@@ -701,7 +701,7 @@ static void calc_keyHandles(ListBase *nurb, float *key)
}
else {
++nextp;
nextfp += 12;;
nextfp += 12;
}
++bezt;

View File

@@ -274,9 +274,9 @@ static void text_update_edited(bContext *C, Scene *scene, Object *obedit, int re
static int insert_lorem_exec(bContext *C, wmOperator *UNUSED(op))
{
Object *obedit= CTX_data_edit_object(C);
char *p, *p2;
const char *p, *p2;
int i;
static char *lastlorem;
static const char *lastlorem;
if(lastlorem)
p= lastlorem;

File diff suppressed because it is too large Load Diff