]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - cvar.h
Fix signed int overflows and tidy nearby documentation
[xonotic/darkplaces.git] / cvar.h
diff --git a/cvar.h b/cvar.h
index 709bc6aaf7a296fb49493128c401eed34995d057..a489e1dcc9437fb679a87086b6ff6c0823bfbe49 100644 (file)
--- a/cvar.h
+++ b/cvar.h
@@ -193,7 +193,7 @@ void Cvar_Del_f(struct cmd_state_s *cmd);
 
 /// allocates a cvar by name and returns its address,
 /// or merely sets its value if it already exists.
-cvar_t *Cvar_Get(cvar_state_t *cvars, const char *name, const char *value, int flags, const char *newdescription);
+cvar_t *Cvar_Get(cvar_state_t *cvars, const char *name, const char *value, unsigned flags, const char *newdescription);
 
 extern const char *cvar_dummy_description; // ALWAYS the same pointer