]> git.xonotic.org Git - xonotic/darkplaces.git/blobdiff - prvm_cmds.h
Fix signed int overflows and tidy nearby documentation
[xonotic/darkplaces.git] / prvm_cmds.h
index 24fe4a91b1f7b589aa6ffbcf041a40d32f0da9a6..217d67f1c7d1dbf5e7f1400c2cadaeed67fb9850 100644 (file)
@@ -219,7 +219,7 @@ void VM_CheckEmptyString (prvm_prog_t *prog, const char *s);
 /// Returns the length of the *out string excluding the \0 terminator.
 size_t VM_VarString(prvm_prog_t *prog, int first, char *out, size_t outsize);
 qbool PRVM_ConsoleCommand(prvm_prog_t *prog, const char *text, size_t textlen, int *func, qbool preserve_self, int curself, double ptime, qbool prog_loaded, const char *error_message);
-prvm_stringbuffer_t *BufStr_FindCreateReplace (prvm_prog_t *prog, int bufindex, int flags, const char *format);
+prvm_stringbuffer_t *BufStr_FindCreateReplace (prvm_prog_t *prog, int bufindex, unsigned flags, const char *format);
 void BufStr_Set(prvm_prog_t *prog, prvm_stringbuffer_t *stringbuffer, int strindex, const char *str);
 void BufStr_Del(prvm_prog_t *prog, prvm_stringbuffer_t *stringbuffer);
 void BufStr_Flush(prvm_prog_t *prog);