fix for some pedantic warnings.
This commit is contained in:
@@ -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 };
|
||||
|
||||
@@ -701,7 +701,7 @@ static void calc_keyHandles(ListBase *nurb, float *key)
|
||||
}
|
||||
else {
|
||||
++nextp;
|
||||
nextfp += 12;;
|
||||
nextfp += 12;
|
||||
}
|
||||
|
||||
++bezt;
|
||||
|
||||
@@ -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
Reference in New Issue
Block a user