parent
8811a328a3
commit
da435e41f4
@ -0,0 +1,22 @@
|
||||
--- gnome-vfs-2.12.1.1/libgnomevfs/xdgmimecache.c.mimecache 2005-04-17 06:37:34.000000000 -0400
|
||||
+++ gnome-vfs-2.12.1.1/libgnomevfs/xdgmimecache.c 2005-10-19 08:19:13.000000000 -0400
|
||||
@@ -175,8 +175,8 @@
|
||||
{
|
||||
for (j = 0; j < data_length; j++)
|
||||
{
|
||||
- if ((cache->buffer[data_offset + j] & cache->buffer[mask_offset + j]) !=
|
||||
- ((((unsigned char *) data)[j + i]) & cache->buffer[mask_offset + j]))
|
||||
+ if ((((unsigned char *)cache->buffer)[data_offset + j] & ((unsigned char *)cache->buffer)[mask_offset + j]) !=
|
||||
+ ((((unsigned char *) data)[j + i]) & ((unsigned char *)cache->buffer)[mask_offset + j]))
|
||||
{
|
||||
valid_matchlet = FALSE;
|
||||
break;
|
||||
@@ -187,7 +187,7 @@
|
||||
{
|
||||
for (j = 0; j < data_length; j++)
|
||||
{
|
||||
- if (cache->buffer[data_offset + j] != ((unsigned char *) data)[j + i])
|
||||
+ if (((unsigned char *)cache->buffer)[data_offset + j] != ((unsigned char *) data)[j + i])
|
||||
{
|
||||
valid_matchlet = FALSE;
|
||||
break;
|
Loading…
Reference in new issue