diff options
-rw-r--r-- | saga/expr.cpp | 4 | ||||
-rw-r--r-- | saga/scene.cpp | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/saga/expr.cpp b/saga/expr.cpp index 386be3d7c0..f2721b69a0 100644 --- a/saga/expr.cpp +++ b/saga/expr.cpp @@ -107,7 +107,7 @@ EXPR_Parse(const char **exp_pp, int *len, R_CVAR_P * expr_cvar, char **rvalue) int i; int in_char; - int equ_offset; + int equ_offset = 0; int rvalue_offset; char *lvalue_str; @@ -322,7 +322,7 @@ char *EXPR_ReadString(const char **string_p, int *len, int term_char) { int string_len; - char *str_p; + char *str_p = NULL; char *term_p; const char *scan_p; diff --git a/saga/scene.cpp b/saga/scene.cpp index a59fdd9ebc..26e1630860 100644 --- a/saga/scene.cpp +++ b/saga/scene.cpp @@ -114,7 +114,7 @@ int SCENE_Init(void) /* Load scene lookup table * \*------------------------------------------------------------ */ R_printf(R_STDOUT, - "SCENE_Init(): Loading scene LUT from resource %d.\n", + "SCENE_Init(): Loading scene LUT from resource %ld.\n", gs_desc.scene_lut_rn); result = RSC_LoadResource(SceneModule.scene_ctxt, @@ -575,7 +575,7 @@ SCENE_Load(int scene_num, SceneModule.scene_rn = res_number; assert(SceneModule.scene_rn != 0); - R_printf(R_STDOUT, "Loading scene resource %d:\n", res_number); + R_printf(R_STDOUT, "Loading scene resource %ld:\n", res_number); if (LoadSceneDescriptor(res_number) != R_SUCCESS) { R_printf(R_STDERR, |