]> git.sesse.net Git - vlc/commitdiff
Use memset, not bzero. Helps with -mno-cygwin (and possibly others).
authorRocky Bernstein <rocky@videolan.org>
Thu, 11 Mar 2004 08:02:55 +0000 (08:02 +0000)
committerRocky Bernstein <rocky@videolan.org>
Thu, 11 Mar 2004 08:02:55 +0000 (08:02 +0000)
modules/access/vcdx/access.c

index 27c41c5510734d38f2172760bd52f24ed97f24df..79c5c85124f6a3f723949b64d92f0cf17525aa58 100644 (file)
@@ -1173,7 +1173,7 @@ VCDFormatStr(const input_thread_t *p_input, thread_vcd_data_t *p_vcd,
   bool saw_control_prefix = false;
   size_t format_len = strlen(format_str);
 
-  bzero(temp_str, TEMP_STR_SIZE);
+  memset(temp_str, 0, TEMP_STR_SIZE);
 
   for (i=0; i<format_len; i++) {