Ver código fonte

fixed warning

Nicolas Cannasse 6 anos atrás
pai
commit
ce2800c395
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      src/std/track.c

+ 1 - 1
src/std/track.c

@@ -257,7 +257,7 @@ HL_PRIM int hl_track_entry( int id, hl_type **t, int *count, int *info, varray *
 	*info = b->info;
 	stack->size = b->stack_count;
 	memcpy(hl_aptr(stack,void*), b->stack, b->stack_count * sizeof(void*));
-	return (cur - all_data);
+	return (int)(cur - all_data);
 }
 
 HL_PRIM int hl_track_get_bits( bool thread ) {